{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/comments/205931310","pull_request_review_id":141306021,"id":205931310,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTkzMTMxMA==","diff_hunk":"@@ -1,5 +1,20 @@\n class Trip < ApplicationRecord\n+  has_many :trip_trails\n+  has_many :trails, through: :trip_trails","path":"app/models/trip.rb","position":3,"original_position":3,"commit_id":"66bf32f47bc203ae5b4799b7df9abfd64eb3b9d8","original_commit_id":"66bf32f47bc203ae5b4799b7df9abfd64eb3b9d8","user":{"login":"iandouglas","id":168030,"node_id":"MDQ6VXNlcjE2ODAzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/168030?v=4","gravatar_id":"","url":"https://api.github.com/users/iandouglas","html_url":"https://github.com/iandouglas","followers_url":"https://api.github.com/users/iandouglas/followers","following_url":"https://api.github.com/users/iandouglas/following{/other_user}","gists_url":"https://api.github.com/users/iandouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/iandouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iandouglas/subscriptions","organizations_url":"https://api.github.com/users/iandouglas/orgs","repos_url":"https://api.github.com/users/iandouglas/repos","events_url":"https://api.github.com/users/iandouglas/events{/privacy}","received_events_url":"https://api.github.com/users/iandouglas/received_events","type":"User","site_admin":false},"body":"great many-to-many setup here","created_at":"2018-07-28T03:35:56Z","updated_at":"2018-07-28T03:39:51Z","html_url":"https://github.com/turingschool-projects/day_hike/pull/8#discussion_r205931310","pull_request_url":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/comments/205931310"},"html":{"href":"https://github.com/turingschool-projects/day_hike/pull/8#discussion_r205931310"},"pull_request":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8","id":204487264,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NDg3MjY0","html_url":"https://github.com/turingschool-projects/day_hike/pull/8","diff_url":"https://github.com/turingschool-projects/day_hike/pull/8.diff","patch_url":"https://github.com/turingschool-projects/day_hike/pull/8.patch","issue_url":"https://api.github.com/repos/turingschool-projects/day_hike/issues/8","number":8,"state":"open","locked":false,"title":"JP Lynch","user":{"login":"JPLynch35","id":32905782,"node_id":"MDQ6VXNlcjMyOTA1Nzgy","avatar_url":"https://avatars0.githubusercontent.com/u/32905782?v=4","gravatar_id":"","url":"https://api.github.com/users/JPLynch35","html_url":"https://github.com/JPLynch35","followers_url":"https://api.github.com/users/JPLynch35/followers","following_url":"https://api.github.com/users/JPLynch35/following{/other_user}","gists_url":"https://api.github.com/users/JPLynch35/gists{/gist_id}","starred_url":"https://api.github.com/users/JPLynch35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPLynch35/subscriptions","organizations_url":"https://api.github.com/users/JPLynch35/orgs","repos_url":"https://api.github.com/users/JPLynch35/repos","events_url":"https://api.github.com/users/JPLynch35/events{/privacy}","received_events_url":"https://api.github.com/users/JPLynch35/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-27T17:00:10Z","updated_at":"2018-07-28T03:39:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9a7930a4d58acc0380828dae6052b3d9ee4d2e3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8/commits","review_comments_url":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8/comments","review_comment_url":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool-projects/day_hike/issues/8/comments","statuses_url":"https://api.github.com/repos/turingschool-projects/day_hike/statuses/66bf32f47bc203ae5b4799b7df9abfd64eb3b9d8","head":{"label":"JPLynch35:development","ref":"development","sha":"66bf32f47bc203ae5b4799b7df9abfd64eb3b9d8","user":{"login":"JPLynch35","id":32905782,"node_id":"MDQ6VXNlcjMyOTA1Nzgy","avatar_url":"https://avatars0.githubusercontent.com/u/32905782?v=4","gravatar_id":"","url":"https://api.github.com/users/JPLynch35","html_url":"https://github.com/JPLynch35","followers_url":"https://api.github.com/users/JPLynch35/followers","following_url":"https://api.github.com/users/JPLynch35/following{/other_user}","gists_url":"https://api.github.com/users/JPLynch35/gists{/gist_id}","starred_url":"https://api.github.com/users/JPLynch35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPLynch35/subscriptions","organizations_url":"https://api.github.com/users/JPLynch35/orgs","repos_url":"https://api.github.com/users/JPLynch35/repos","events_url":"https://api.github.com/users/JPLynch35/events{/privacy}","received_events_url":"https://api.github.com/users/JPLynch35/received_events","type":"User","site_admin":false},"repo":{"id":142597634,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI1OTc2MzQ=","name":"day_hike","full_name":"JPLynch35/day_hike","owner":{"login":"JPLynch35","id":32905782,"node_id":"MDQ6VXNlcjMyOTA1Nzgy","avatar_url":"https://avatars0.githubusercontent.com/u/32905782?v=4","gravatar_id":"","url":"https://api.github.com/users/JPLynch35","html_url":"https://github.com/JPLynch35","followers_url":"https://api.github.com/users/JPLynch35/followers","following_url":"https://api.github.com/users/JPLynch35/following{/other_user}","gists_url":"https://api.github.com/users/JPLynch35/gists{/gist_id}","starred_url":"https://api.github.com/users/JPLynch35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPLynch35/subscriptions","organizations_url":"https://api.github.com/users/JPLynch35/orgs","repos_url":"https://api.github.com/users/JPLynch35/repos","events_url":"https://api.github.com/users/JPLynch35/events{/privacy}","received_events_url":"https://api.github.com/users/JPLynch35/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JPLynch35/day_hike","description":null,"fork":true,"url":"https://api.github.com/repos/JPLynch35/day_hike","forks_url":"https://api.github.com/repos/JPLynch35/day_hike/forks","keys_url":"https://api.github.com/repos/JPLynch35/day_hike/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JPLynch35/day_hike/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JPLynch35/day_hike/teams","hooks_url":"https://api.github.com/repos/JPLynch35/day_hike/hooks","issue_events_url":"https://api.github.com/repos/JPLynch35/day_hike/issues/events{/number}","events_url":"https://api.github.com/repos/JPLynch35/day_hike/events","assignees_url":"https://api.github.com/repos/JPLynch35/day_hike/assignees{/user}","branches_url":"https://api.github.com/repos/JPLynch35/day_hike/branches{/branch}","tags_url":"https://api.github.com/repos/JPLynch35/day_hike/tags","blobs_url":"https://api.github.com/repos/JPLynch35/day_hike/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JPLynch35/day_hike/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JPLynch35/day_hike/git/refs{/sha}","trees_url":"https://api.github.com/repos/JPLynch35/day_hike/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JPLynch35/day_hike/statuses/{sha}","languages_url":"https://api.github.com/repos/JPLynch35/day_hike/languages","stargazers_url":"https://api.github.com/repos/JPLynch35/day_hike/stargazers","contributors_url":"https://api.github.com/repos/JPLynch35/day_hike/contributors","subscribers_url":"https://api.github.com/repos/JPLynch35/day_hike/subscribers","subscription_url":"https://api.github.com/repos/JPLynch35/day_hike/subscription","commits_url":"https://api.github.com/repos/JPLynch35/day_hike/commits{/sha}","git_commits_url":"https://api.github.com/repos/JPLynch35/day_hike/git/commits{/sha}","comments_url":"https://api.github.com/repos/JPLynch35/day_hike/comments{/number}","issue_comment_url":"https://api.github.com/repos/JPLynch35/day_hike/issues/comments{/number}","contents_url":"https://api.github.com/repos/JPLynch35/day_hike/contents/{+path}","compare_url":"https://api.github.com/repos/JPLynch35/day_hike/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JPLynch35/day_hike/merges","archive_url":"https://api.github.com/repos/JPLynch35/day_hike/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JPLynch35/day_hike/downloads","issues_url":"https://api.github.com/repos/JPLynch35/day_hike/issues{/number}","pulls_url":"https://api.github.com/repos/JPLynch35/day_hike/pulls{/number}","milestones_url":"https://api.github.com/repos/JPLynch35/day_hike/milestones{/number}","notifications_url":"https://api.github.com/repos/JPLynch35/day_hike/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JPLynch35/day_hike/labels{/name}","releases_url":"https://api.github.com/repos/JPLynch35/day_hike/releases{/id}","deployments_url":"https://api.github.com/repos/JPLynch35/day_hike/deployments","created_at":"2018-07-27T16:01:02Z","updated_at":"2018-07-27T16:01:04Z","pushed_at":"2018-07-27T16:59:46Z","git_url":"git://github.com/JPLynch35/day_hike.git","ssh_url":"git@github.com:JPLynch35/day_hike.git","clone_url":"https://github.com/JPLynch35/day_hike.git","svn_url":"https://github.com/JPLynch35/day_hike","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool-projects:master","ref":"master","sha":"f3c0e2e49bcfd7f0cd93092cab19792363a6c9f7","user":{"login":"turingschool-projects","id":10454571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDU0NTcx","avatar_url":"https://avatars3.githubusercontent.com/u/10454571?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-projects","html_url":"https://github.com/turingschool-projects","followers_url":"https://api.github.com/users/turingschool-projects/followers","following_url":"https://api.github.com/users/turingschool-projects/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-projects/subscriptions","organizations_url":"https://api.github.com/users/turingschool-projects/orgs","repos_url":"https://api.github.com/users/turingschool-projects/repos","events_url":"https://api.github.com/users/turingschool-projects/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":136771452,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY3NzE0NTI=","name":"day_hike","full_name":"turingschool-projects/day_hike","owner":{"login":"turingschool-projects","id":10454571,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDU0NTcx","avatar_url":"https://avatars3.githubusercontent.com/u/10454571?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-projects","html_url":"https://github.com/turingschool-projects","followers_url":"https://api.github.com/users/turingschool-projects/followers","following_url":"https://api.github.com/users/turingschool-projects/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-projects/subscriptions","organizations_url":"https://api.github.com/users/turingschool-projects/orgs","repos_url":"https://api.github.com/users/turingschool-projects/repos","events_url":"https://api.github.com/users/turingschool-projects/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingschool-projects/day_hike","description":null,"fork":false,"url":"https://api.github.com/repos/turingschool-projects/day_hike","forks_url":"https://api.github.com/repos/turingschool-projects/day_hike/forks","keys_url":"https://api.github.com/repos/turingschool-projects/day_hike/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool-projects/day_hike/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool-projects/day_hike/teams","hooks_url":"https://api.github.com/repos/turingschool-projects/day_hike/hooks","issue_events_url":"https://api.github.com/repos/turingschool-projects/day_hike/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool-projects/day_hike/events","assignees_url":"https://api.github.com/repos/turingschool-projects/day_hike/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool-projects/day_hike/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool-projects/day_hike/tags","blobs_url":"https://api.github.com/repos/turingschool-projects/day_hike/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool-projects/day_hike/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool-projects/day_hike/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool-projects/day_hike/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool-projects/day_hike/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool-projects/day_hike/languages","stargazers_url":"https://api.github.com/repos/turingschool-projects/day_hike/stargazers","contributors_url":"https://api.github.com/repos/turingschool-projects/day_hike/contributors","subscribers_url":"https://api.github.com/repos/turingschool-projects/day_hike/subscribers","subscription_url":"https://api.github.com/repos/turingschool-projects/day_hike/subscription","commits_url":"https://api.github.com/repos/turingschool-projects/day_hike/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool-projects/day_hike/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool-projects/day_hike/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool-projects/day_hike/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool-projects/day_hike/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool-projects/day_hike/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool-projects/day_hike/merges","archive_url":"https://api.github.com/repos/turingschool-projects/day_hike/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool-projects/day_hike/downloads","issues_url":"https://api.github.com/repos/turingschool-projects/day_hike/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool-projects/day_hike/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool-projects/day_hike/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool-projects/day_hike/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool-projects/day_hike/labels{/name}","releases_url":"https://api.github.com/repos/turingschool-projects/day_hike/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool-projects/day_hike/deployments","created_at":"2018-06-10T01:53:54Z","updated_at":"2018-06-10T01:54:05Z","pushed_at":"2018-07-27T17:08:23Z","git_url":"git://github.com/turingschool-projects/day_hike.git","ssh_url":"git@github.com:turingschool-projects/day_hike.git","clone_url":"https://github.com/turingschool-projects/day_hike.git","svn_url":"https://github.com/turingschool-projects/day_hike","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":18,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8"},"html":{"href":"https://github.com/turingschool-projects/day_hike/pull/8"},"issue":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/issues/8"},"comments":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool-projects/day_hike/statuses/66bf32f47bc203ae5b4799b7df9abfd64eb3b9d8"}},"author_association":"NONE"}}
{"actor":{"display_login":"iandouglas"}}