{"action":"created","comment":{"url":"https://api.github.com/repos/katalyst/krumblr/pulls/comments/218631798","pull_request_review_id":156614159,"id":218631798,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODYzMTc5OA==","diff_hunk":"@@ -0,0 +1,10 @@\n+class BlogSearch\n+\tinclude ActionView::Helpers::SanitizeHelper\n+\tinclude ActiveModel::Model","path":"app/services/blog_search.rb","position":3,"original_position":3,"commit_id":"84a5e77127367772a4a6142877d11921cc3d7697","original_commit_id":"84a5e77127367772a4a6142877d11921cc3d7697","user":{"login":"Obversity","id":7999019,"node_id":"MDQ6VXNlcjc5OTkwMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/7999019?v=4","gravatar_id":"","url":"https://api.github.com/users/Obversity","html_url":"https://github.com/Obversity","followers_url":"https://api.github.com/users/Obversity/followers","following_url":"https://api.github.com/users/Obversity/following{/other_user}","gists_url":"https://api.github.com/users/Obversity/gists{/gist_id}","starred_url":"https://api.github.com/users/Obversity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Obversity/subscriptions","organizations_url":"https://api.github.com/users/Obversity/orgs","repos_url":"https://api.github.com/users/Obversity/repos","events_url":"https://api.github.com/users/Obversity/events{/privacy}","received_events_url":"https://api.github.com/users/Obversity/received_events","type":"User","site_admin":false},"body":"Ah, it just occurred to me that you need `include ActiveModel::Model` here because you're passing in the controller params to the `.new` method, like you would with an AR object. My bad!","created_at":"2018-09-19T00:00:21Z","updated_at":"2018-09-19T00:00:21Z","html_url":"https://github.com/katalyst/krumblr/pull/7#discussion_r218631798","pull_request_url":"https://api.github.com/repos/katalyst/krumblr/pulls/7","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/katalyst/krumblr/pulls/comments/218631798"},"html":{"href":"https://github.com/katalyst/krumblr/pull/7#discussion_r218631798"},"pull_request":{"href":"https://api.github.com/repos/katalyst/krumblr/pulls/7"}},"in_reply_to_id":218272938},"pull_request":{"url":"https://api.github.com/repos/katalyst/krumblr/pulls/7","id":215984956,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1OTg0OTU2","html_url":"https://github.com/katalyst/krumblr/pull/7","diff_url":"https://github.com/katalyst/krumblr/pull/7.diff","patch_url":"https://github.com/katalyst/krumblr/pull/7.patch","issue_url":"https://api.github.com/repos/katalyst/krumblr/issues/7","number":7,"state":"open","locked":false,"title":"Krumblr - Justin","user":{"login":"JustinJianQiuLi","id":6849554,"node_id":"MDQ6VXNlcjY4NDk1NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6849554?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinJianQiuLi","html_url":"https://github.com/JustinJianQiuLi","followers_url":"https://api.github.com/users/JustinJianQiuLi/followers","following_url":"https://api.github.com/users/JustinJianQiuLi/following{/other_user}","gists_url":"https://api.github.com/users/JustinJianQiuLi/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinJianQiuLi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinJianQiuLi/subscriptions","organizations_url":"https://api.github.com/users/JustinJianQiuLi/orgs","repos_url":"https://api.github.com/users/JustinJianQiuLi/repos","events_url":"https://api.github.com/users/JustinJianQiuLi/events{/privacy}","received_events_url":"https://api.github.com/users/JustinJianQiuLi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-17T13:38:40Z","updated_at":"2018-09-19T00:00:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aade094582e24fcc4b85b1bc47da7d78f56db253","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/katalyst/krumblr/pulls/7/commits","review_comments_url":"https://api.github.com/repos/katalyst/krumblr/pulls/7/comments","review_comment_url":"https://api.github.com/repos/katalyst/krumblr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/katalyst/krumblr/issues/7/comments","statuses_url":"https://api.github.com/repos/katalyst/krumblr/statuses/84a5e77127367772a4a6142877d11921cc3d7697","head":{"label":"JustinJianQiuLi:develop","ref":"develop","sha":"84a5e77127367772a4a6142877d11921cc3d7697","user":{"login":"JustinJianQiuLi","id":6849554,"node_id":"MDQ6VXNlcjY4NDk1NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6849554?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinJianQiuLi","html_url":"https://github.com/JustinJianQiuLi","followers_url":"https://api.github.com/users/JustinJianQiuLi/followers","following_url":"https://api.github.com/users/JustinJianQiuLi/following{/other_user}","gists_url":"https://api.github.com/users/JustinJianQiuLi/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinJianQiuLi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinJianQiuLi/subscriptions","organizations_url":"https://api.github.com/users/JustinJianQiuLi/orgs","repos_url":"https://api.github.com/users/JustinJianQiuLi/repos","events_url":"https://api.github.com/users/JustinJianQiuLi/events{/privacy}","received_events_url":"https://api.github.com/users/JustinJianQiuLi/received_events","type":"User","site_admin":false},"repo":{"id":149113460,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMTM0NjA=","name":"krumblr","full_name":"JustinJianQiuLi/krumblr","private":false,"owner":{"login":"JustinJianQiuLi","id":6849554,"node_id":"MDQ6VXNlcjY4NDk1NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6849554?v=4","gravatar_id":"","url":"https://api.github.com/users/JustinJianQiuLi","html_url":"https://github.com/JustinJianQiuLi","followers_url":"https://api.github.com/users/JustinJianQiuLi/followers","following_url":"https://api.github.com/users/JustinJianQiuLi/following{/other_user}","gists_url":"https://api.github.com/users/JustinJianQiuLi/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinJianQiuLi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinJianQiuLi/subscriptions","organizations_url":"https://api.github.com/users/JustinJianQiuLi/orgs","repos_url":"https://api.github.com/users/JustinJianQiuLi/repos","events_url":"https://api.github.com/users/JustinJianQiuLi/events{/privacy}","received_events_url":"https://api.github.com/users/JustinJianQiuLi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JustinJianQiuLi/krumblr","description":"Skeleton rails app for programming evaluation.","fork":true,"url":"https://api.github.com/repos/JustinJianQiuLi/krumblr","forks_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/forks","keys_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/teams","hooks_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/hooks","issue_events_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/issues/events{/number}","events_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/events","assignees_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/assignees{/user}","branches_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/branches{/branch}","tags_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/tags","blobs_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/git/refs{/sha}","trees_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/statuses/{sha}","languages_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/languages","stargazers_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/stargazers","contributors_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/contributors","subscribers_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/subscribers","subscription_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/subscription","commits_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/commits{/sha}","git_commits_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/git/commits{/sha}","comments_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/comments{/number}","issue_comment_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/issues/comments{/number}","contents_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/contents/{+path}","compare_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/merges","archive_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/downloads","issues_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/issues{/number}","pulls_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/pulls{/number}","milestones_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/milestones{/number}","notifications_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/labels{/name}","releases_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/releases{/id}","deployments_url":"https://api.github.com/repos/JustinJianQiuLi/krumblr/deployments","created_at":"2018-09-17T11:15:01Z","updated_at":"2018-09-17T11:15:03Z","pushed_at":"2018-09-17T13:29:49Z","git_url":"git://github.com/JustinJianQiuLi/krumblr.git","ssh_url":"git@github.com:JustinJianQiuLi/krumblr.git","clone_url":"https://github.com/JustinJianQiuLi/krumblr.git","svn_url":"https://github.com/JustinJianQiuLi/krumblr","homepage":null,"size":214,"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":"katalyst:master","ref":"master","sha":"dafbb0f07c45345f5f3cc9879582bc6661f9fc65","user":{"login":"katalyst","id":15221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjIx","avatar_url":"https://avatars3.githubusercontent.com/u/15221?v=4","gravatar_id":"","url":"https://api.github.com/users/katalyst","html_url":"https://github.com/katalyst","followers_url":"https://api.github.com/users/katalyst/followers","following_url":"https://api.github.com/users/katalyst/following{/other_user}","gists_url":"https://api.github.com/users/katalyst/gists{/gist_id}","starred_url":"https://api.github.com/users/katalyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katalyst/subscriptions","organizations_url":"https://api.github.com/users/katalyst/orgs","repos_url":"https://api.github.com/users/katalyst/repos","events_url":"https://api.github.com/users/katalyst/events{/privacy}","received_events_url":"https://api.github.com/users/katalyst/received_events","type":"Organization","site_admin":false},"repo":{"id":139548463,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk1NDg0NjM=","name":"krumblr","full_name":"katalyst/krumblr","private":false,"owner":{"login":"katalyst","id":15221,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjIx","avatar_url":"https://avatars3.githubusercontent.com/u/15221?v=4","gravatar_id":"","url":"https://api.github.com/users/katalyst","html_url":"https://github.com/katalyst","followers_url":"https://api.github.com/users/katalyst/followers","following_url":"https://api.github.com/users/katalyst/following{/other_user}","gists_url":"https://api.github.com/users/katalyst/gists{/gist_id}","starred_url":"https://api.github.com/users/katalyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katalyst/subscriptions","organizations_url":"https://api.github.com/users/katalyst/orgs","repos_url":"https://api.github.com/users/katalyst/repos","events_url":"https://api.github.com/users/katalyst/events{/privacy}","received_events_url":"https://api.github.com/users/katalyst/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/katalyst/krumblr","description":"Skeleton rails app for programming evaluation.","fork":false,"url":"https://api.github.com/repos/katalyst/krumblr","forks_url":"https://api.github.com/repos/katalyst/krumblr/forks","keys_url":"https://api.github.com/repos/katalyst/krumblr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/katalyst/krumblr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/katalyst/krumblr/teams","hooks_url":"https://api.github.com/repos/katalyst/krumblr/hooks","issue_events_url":"https://api.github.com/repos/katalyst/krumblr/issues/events{/number}","events_url":"https://api.github.com/repos/katalyst/krumblr/events","assignees_url":"https://api.github.com/repos/katalyst/krumblr/assignees{/user}","branches_url":"https://api.github.com/repos/katalyst/krumblr/branches{/branch}","tags_url":"https://api.github.com/repos/katalyst/krumblr/tags","blobs_url":"https://api.github.com/repos/katalyst/krumblr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/katalyst/krumblr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/katalyst/krumblr/git/refs{/sha}","trees_url":"https://api.github.com/repos/katalyst/krumblr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/katalyst/krumblr/statuses/{sha}","languages_url":"https://api.github.com/repos/katalyst/krumblr/languages","stargazers_url":"https://api.github.com/repos/katalyst/krumblr/stargazers","contributors_url":"https://api.github.com/repos/katalyst/krumblr/contributors","subscribers_url":"https://api.github.com/repos/katalyst/krumblr/subscribers","subscription_url":"https://api.github.com/repos/katalyst/krumblr/subscription","commits_url":"https://api.github.com/repos/katalyst/krumblr/commits{/sha}","git_commits_url":"https://api.github.com/repos/katalyst/krumblr/git/commits{/sha}","comments_url":"https://api.github.com/repos/katalyst/krumblr/comments{/number}","issue_comment_url":"https://api.github.com/repos/katalyst/krumblr/issues/comments{/number}","contents_url":"https://api.github.com/repos/katalyst/krumblr/contents/{+path}","compare_url":"https://api.github.com/repos/katalyst/krumblr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/katalyst/krumblr/merges","archive_url":"https://api.github.com/repos/katalyst/krumblr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/katalyst/krumblr/downloads","issues_url":"https://api.github.com/repos/katalyst/krumblr/issues{/number}","pulls_url":"https://api.github.com/repos/katalyst/krumblr/pulls{/number}","milestones_url":"https://api.github.com/repos/katalyst/krumblr/milestones{/number}","notifications_url":"https://api.github.com/repos/katalyst/krumblr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/katalyst/krumblr/labels{/name}","releases_url":"https://api.github.com/repos/katalyst/krumblr/releases{/id}","deployments_url":"https://api.github.com/repos/katalyst/krumblr/deployments","created_at":"2018-07-03T07:56:47Z","updated_at":"2018-07-30T03:02:52Z","pushed_at":"2018-09-17T13:38:41Z","git_url":"git://github.com/katalyst/krumblr.git","ssh_url":"git@github.com:katalyst/krumblr.git","clone_url":"https://github.com/katalyst/krumblr.git","svn_url":"https://github.com/katalyst/krumblr","homepage":null,"size":33,"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":6,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":6,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/katalyst/krumblr/pulls/7"},"html":{"href":"https://github.com/katalyst/krumblr/pull/7"},"issue":{"href":"https://api.github.com/repos/katalyst/krumblr/issues/7"},"comments":{"href":"https://api.github.com/repos/katalyst/krumblr/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/katalyst/krumblr/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/katalyst/krumblr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/katalyst/krumblr/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/katalyst/krumblr/statuses/84a5e77127367772a4a6142877d11921cc3d7697"}},"author_association":"NONE"}}
{"actor":{"display_login":"Obversity"}}