{"action":"created","comment":{"url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/comments/79493932","id":79493932,"diff_hunk":"@@ -0,0 +1,51 @@\n+class Npc < ActiveRecord::Base\n+  class ConsequenceLimit < ActiveModel::Validator\n+    def validate(npc)\n+      if npc.consequences.length > 4","path":"app/models/npc.rb","position":4,"original_position":4,"commit_id":"5149c86b03d13103928a0b99be80d74285f5f1fc","original_commit_id":"9070f365327b9ee8f9d18d77a5819b64d72680e0","user":{"login":"yhordi","id":5685877,"avatar_url":"https://avatars.githubusercontent.com/u/5685877?v=3","gravatar_id":"","url":"https://api.github.com/users/yhordi","html_url":"https://github.com/yhordi","followers_url":"https://api.github.com/users/yhordi/followers","following_url":"https://api.github.com/users/yhordi/following{/other_user}","gists_url":"https://api.github.com/users/yhordi/gists{/gist_id}","starred_url":"https://api.github.com/users/yhordi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhordi/subscriptions","organizations_url":"https://api.github.com/users/yhordi/orgs","repos_url":"https://api.github.com/users/yhordi/repos","events_url":"https://api.github.com/users/yhordi/events{/privacy}","received_events_url":"https://api.github.com/users/yhordi/received_events","type":"User","site_admin":false},"body":"Or perhaps you are building a ConsequenceLevels module for the National Broadcasting Corporation 😉 ","created_at":"2016-09-19T21:31:17Z","updated_at":"2016-09-19T21:31:17Z","html_url":"https://github.com/yhordi/fate-digital-assistant/pull/10#discussion_r79493932","pull_request_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/comments/79493932"},"html":{"href":"https://github.com/yhordi/fate-digital-assistant/pull/10#discussion_r79493932"},"pull_request":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10","id":85288845,"html_url":"https://github.com/yhordi/fate-digital-assistant/pull/10","diff_url":"https://github.com/yhordi/fate-digital-assistant/pull/10.diff","patch_url":"https://github.com/yhordi/fate-digital-assistant/pull/10.patch","issue_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/10","number":10,"state":"open","locked":false,"title":"Characters","user":{"login":"yhordi","id":5685877,"avatar_url":"https://avatars.githubusercontent.com/u/5685877?v=3","gravatar_id":"","url":"https://api.github.com/users/yhordi","html_url":"https://github.com/yhordi","followers_url":"https://api.github.com/users/yhordi/followers","following_url":"https://api.github.com/users/yhordi/following{/other_user}","gists_url":"https://api.github.com/users/yhordi/gists{/gist_id}","starred_url":"https://api.github.com/users/yhordi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhordi/subscriptions","organizations_url":"https://api.github.com/users/yhordi/orgs","repos_url":"https://api.github.com/users/yhordi/repos","events_url":"https://api.github.com/users/yhordi/events{/privacy}","received_events_url":"https://api.github.com/users/yhordi/received_events","type":"User","site_admin":false},"body":"@leongersing I'd love it if you could offer me feedback on my backend code in specific:\r\nhttps://github.com/yhordi/fate-digital-assistant/blob/characters/app/models/npc.rb\r\nhttps://github.com/yhordi/fate-digital-assistant/tree/characters/app/controllers\r\n\r\nI'd also love if you could go over my feature tests. Whichever ones you want to take a look at is fine. they are all pretty much the same\r\n\r\nFeel free to check out whatever, but I thought it would be helpful to offer a starting point.\r\n\r\nAlso, if you want to try using the app it's [here](http://fate-dimensions.herokuapp.com/)","created_at":"2016-09-14T19:22:27Z","updated_at":"2016-09-19T21:31:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34ee7101f60e5f00c9e402f9f39312f2d6af9b7f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10/commits","review_comments_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10/comments","review_comment_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/10/comments","statuses_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/statuses/5149c86b03d13103928a0b99be80d74285f5f1fc","head":{"label":"yhordi:characters","ref":"characters","sha":"5149c86b03d13103928a0b99be80d74285f5f1fc","user":{"login":"yhordi","id":5685877,"avatar_url":"https://avatars.githubusercontent.com/u/5685877?v=3","gravatar_id":"","url":"https://api.github.com/users/yhordi","html_url":"https://github.com/yhordi","followers_url":"https://api.github.com/users/yhordi/followers","following_url":"https://api.github.com/users/yhordi/following{/other_user}","gists_url":"https://api.github.com/users/yhordi/gists{/gist_id}","starred_url":"https://api.github.com/users/yhordi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhordi/subscriptions","organizations_url":"https://api.github.com/users/yhordi/orgs","repos_url":"https://api.github.com/users/yhordi/repos","events_url":"https://api.github.com/users/yhordi/events{/privacy}","received_events_url":"https://api.github.com/users/yhordi/received_events","type":"User","site_admin":false},"repo":{"id":36185892,"name":"fate-digital-assistant","full_name":"yhordi/fate-digital-assistant","owner":{"login":"yhordi","id":5685877,"avatar_url":"https://avatars.githubusercontent.com/u/5685877?v=3","gravatar_id":"","url":"https://api.github.com/users/yhordi","html_url":"https://github.com/yhordi","followers_url":"https://api.github.com/users/yhordi/followers","following_url":"https://api.github.com/users/yhordi/following{/other_user}","gists_url":"https://api.github.com/users/yhordi/gists{/gist_id}","starred_url":"https://api.github.com/users/yhordi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhordi/subscriptions","organizations_url":"https://api.github.com/users/yhordi/orgs","repos_url":"https://api.github.com/users/yhordi/repos","events_url":"https://api.github.com/users/yhordi/events{/privacy}","received_events_url":"https://api.github.com/users/yhordi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yhordi/fate-digital-assistant","description":"A way to manage information for your FATE games","fork":false,"url":"https://api.github.com/repos/yhordi/fate-digital-assistant","forks_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/forks","keys_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/teams","hooks_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/hooks","issue_events_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/events","assignees_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/tags","blobs_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/languages","stargazers_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/stargazers","contributors_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/contributors","subscribers_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/subscribers","subscription_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/subscription","commits_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/merges","archive_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/downloads","issues_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/labels{/name}","releases_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/deployments","created_at":"2015-05-24T18:15:36Z","updated_at":"2016-04-20T22:10:09Z","pushed_at":"2016-09-17T00:45:17Z","git_url":"git://github.com/yhordi/fate-digital-assistant.git","ssh_url":"git@github.com:yhordi/fate-digital-assistant.git","clone_url":"https://github.com/yhordi/fate-digital-assistant.git","svn_url":"https://github.com/yhordi/fate-digital-assistant","homepage":null,"size":2761,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"yhordi:master","ref":"master","sha":"94b65001efbea80afd0611b963065c6ae4b9405c","user":{"login":"yhordi","id":5685877,"avatar_url":"https://avatars.githubusercontent.com/u/5685877?v=3","gravatar_id":"","url":"https://api.github.com/users/yhordi","html_url":"https://github.com/yhordi","followers_url":"https://api.github.com/users/yhordi/followers","following_url":"https://api.github.com/users/yhordi/following{/other_user}","gists_url":"https://api.github.com/users/yhordi/gists{/gist_id}","starred_url":"https://api.github.com/users/yhordi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhordi/subscriptions","organizations_url":"https://api.github.com/users/yhordi/orgs","repos_url":"https://api.github.com/users/yhordi/repos","events_url":"https://api.github.com/users/yhordi/events{/privacy}","received_events_url":"https://api.github.com/users/yhordi/received_events","type":"User","site_admin":false},"repo":{"id":36185892,"name":"fate-digital-assistant","full_name":"yhordi/fate-digital-assistant","owner":{"login":"yhordi","id":5685877,"avatar_url":"https://avatars.githubusercontent.com/u/5685877?v=3","gravatar_id":"","url":"https://api.github.com/users/yhordi","html_url":"https://github.com/yhordi","followers_url":"https://api.github.com/users/yhordi/followers","following_url":"https://api.github.com/users/yhordi/following{/other_user}","gists_url":"https://api.github.com/users/yhordi/gists{/gist_id}","starred_url":"https://api.github.com/users/yhordi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhordi/subscriptions","organizations_url":"https://api.github.com/users/yhordi/orgs","repos_url":"https://api.github.com/users/yhordi/repos","events_url":"https://api.github.com/users/yhordi/events{/privacy}","received_events_url":"https://api.github.com/users/yhordi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yhordi/fate-digital-assistant","description":"A way to manage information for your FATE games","fork":false,"url":"https://api.github.com/repos/yhordi/fate-digital-assistant","forks_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/forks","keys_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/teams","hooks_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/hooks","issue_events_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/events","assignees_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/tags","blobs_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/languages","stargazers_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/stargazers","contributors_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/contributors","subscribers_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/subscribers","subscription_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/subscription","commits_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/merges","archive_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/downloads","issues_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/labels{/name}","releases_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/yhordi/fate-digital-assistant/deployments","created_at":"2015-05-24T18:15:36Z","updated_at":"2016-04-20T22:10:09Z","pushed_at":"2016-09-17T00:45:17Z","git_url":"git://github.com/yhordi/fate-digital-assistant.git","ssh_url":"git@github.com:yhordi/fate-digital-assistant.git","clone_url":"https://github.com/yhordi/fate-digital-assistant.git","svn_url":"https://github.com/yhordi/fate-digital-assistant","homepage":null,"size":2761,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10"},"html":{"href":"https://github.com/yhordi/fate-digital-assistant/pull/10"},"issue":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/10"},"comments":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/yhordi/fate-digital-assistant/statuses/5149c86b03d13103928a0b99be80d74285f5f1fc"}}}}
{"actor":{"display_login":"yhordi"}}