{"action":"created","comment":{"url":"https://api.github.com/repos/tarnawski/stuff_register/pulls/comments/45556728","id":45556728,"diff_hunk":"@@ -1,6 +1,5 @@\n class Inventory < ActiveRecord::Base\n \n   validates_presence_of :stuff_id\n-  validates_presence_of :in_stock\n   validates_presence_of :comment","path":"app/models/inventory.rb","position":5,"original_position":5,"commit_id":"0d242522dfa9522c7f7dc3fadaf041019615cbb6","original_commit_id":"0d242522dfa9522c7f7dc3fadaf041019615cbb6","user":{"login":"tarnawski","id":11235024,"avatar_url":"https://avatars.githubusercontent.com/u/11235024?v=3","gravatar_id":"","url":"https://api.github.com/users/tarnawski","html_url":"https://github.com/tarnawski","followers_url":"https://api.github.com/users/tarnawski/followers","following_url":"https://api.github.com/users/tarnawski/following{/other_user}","gists_url":"https://api.github.com/users/tarnawski/gists{/gist_id}","starred_url":"https://api.github.com/users/tarnawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarnawski/subscriptions","organizations_url":"https://api.github.com/users/tarnawski/orgs","repos_url":"https://api.github.com/users/tarnawski/repos","events_url":"https://api.github.com/users/tarnawski/events{/privacy}","received_events_url":"https://api.github.com/users/tarnawski/received_events","type":"User","site_admin":false},"body":"comment in not requiere value","created_at":"2015-11-22T09:36:45Z","updated_at":"2015-11-22T09:36:45Z","html_url":"https://github.com/tarnawski/stuff_register/pull/13#discussion_r45556728","pull_request_url":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/tarnawski/stuff_register/pulls/comments/45556728"},"html":{"href":"https://github.com/tarnawski/stuff_register/pull/13#discussion_r45556728"},"pull_request":{"href":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13","id":51384581,"html_url":"https://github.com/tarnawski/stuff_register/pull/13","diff_url":"https://github.com/tarnawski/stuff_register/pull/13.diff","patch_url":"https://github.com/tarnawski/stuff_register/pull/13.patch","issue_url":"https://api.github.com/repos/tarnawski/stuff_register/issues/13","number":13,"state":"open","locked":false,"title":"working index/show/edit inventory","user":{"login":"tarnawski","id":11235024,"avatar_url":"https://avatars.githubusercontent.com/u/11235024?v=3","gravatar_id":"","url":"https://api.github.com/users/tarnawski","html_url":"https://github.com/tarnawski","followers_url":"https://api.github.com/users/tarnawski/followers","following_url":"https://api.github.com/users/tarnawski/following{/other_user}","gists_url":"https://api.github.com/users/tarnawski/gists{/gist_id}","starred_url":"https://api.github.com/users/tarnawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarnawski/subscriptions","organizations_url":"https://api.github.com/users/tarnawski/orgs","repos_url":"https://api.github.com/users/tarnawski/repos","events_url":"https://api.github.com/users/tarnawski/events{/privacy}","received_events_url":"https://api.github.com/users/tarnawski/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-20T17:30:33Z","updated_at":"2015-11-22T09:36:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd586d8d197ed221c6e8cc508030c583c67a93a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13/commits","review_comments_url":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13/comments","review_comment_url":"https://api.github.com/repos/tarnawski/stuff_register/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tarnawski/stuff_register/issues/13/comments","statuses_url":"https://api.github.com/repos/tarnawski/stuff_register/statuses/0d242522dfa9522c7f7dc3fadaf041019615cbb6","head":{"label":"tarnawski:Inventory","ref":"Inventory","sha":"0d242522dfa9522c7f7dc3fadaf041019615cbb6","user":{"login":"tarnawski","id":11235024,"avatar_url":"https://avatars.githubusercontent.com/u/11235024?v=3","gravatar_id":"","url":"https://api.github.com/users/tarnawski","html_url":"https://github.com/tarnawski","followers_url":"https://api.github.com/users/tarnawski/followers","following_url":"https://api.github.com/users/tarnawski/following{/other_user}","gists_url":"https://api.github.com/users/tarnawski/gists{/gist_id}","starred_url":"https://api.github.com/users/tarnawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarnawski/subscriptions","organizations_url":"https://api.github.com/users/tarnawski/orgs","repos_url":"https://api.github.com/users/tarnawski/repos","events_url":"https://api.github.com/users/tarnawski/events{/privacy}","received_events_url":"https://api.github.com/users/tarnawski/received_events","type":"User","site_admin":false},"repo":{"id":45646910,"name":"stuff_register","full_name":"tarnawski/stuff_register","owner":{"login":"tarnawski","id":11235024,"avatar_url":"https://avatars.githubusercontent.com/u/11235024?v=3","gravatar_id":"","url":"https://api.github.com/users/tarnawski","html_url":"https://github.com/tarnawski","followers_url":"https://api.github.com/users/tarnawski/followers","following_url":"https://api.github.com/users/tarnawski/following{/other_user}","gists_url":"https://api.github.com/users/tarnawski/gists{/gist_id}","starred_url":"https://api.github.com/users/tarnawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarnawski/subscriptions","organizations_url":"https://api.github.com/users/tarnawski/orgs","repos_url":"https://api.github.com/users/tarnawski/repos","events_url":"https://api.github.com/users/tarnawski/events{/privacy}","received_events_url":"https://api.github.com/users/tarnawski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tarnawski/stuff_register","description":"This is simple school project to register stuff","fork":false,"url":"https://api.github.com/repos/tarnawski/stuff_register","forks_url":"https://api.github.com/repos/tarnawski/stuff_register/forks","keys_url":"https://api.github.com/repos/tarnawski/stuff_register/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tarnawski/stuff_register/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tarnawski/stuff_register/teams","hooks_url":"https://api.github.com/repos/tarnawski/stuff_register/hooks","issue_events_url":"https://api.github.com/repos/tarnawski/stuff_register/issues/events{/number}","events_url":"https://api.github.com/repos/tarnawski/stuff_register/events","assignees_url":"https://api.github.com/repos/tarnawski/stuff_register/assignees{/user}","branches_url":"https://api.github.com/repos/tarnawski/stuff_register/branches{/branch}","tags_url":"https://api.github.com/repos/tarnawski/stuff_register/tags","blobs_url":"https://api.github.com/repos/tarnawski/stuff_register/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tarnawski/stuff_register/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tarnawski/stuff_register/git/refs{/sha}","trees_url":"https://api.github.com/repos/tarnawski/stuff_register/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tarnawski/stuff_register/statuses/{sha}","languages_url":"https://api.github.com/repos/tarnawski/stuff_register/languages","stargazers_url":"https://api.github.com/repos/tarnawski/stuff_register/stargazers","contributors_url":"https://api.github.com/repos/tarnawski/stuff_register/contributors","subscribers_url":"https://api.github.com/repos/tarnawski/stuff_register/subscribers","subscription_url":"https://api.github.com/repos/tarnawski/stuff_register/subscription","commits_url":"https://api.github.com/repos/tarnawski/stuff_register/commits{/sha}","git_commits_url":"https://api.github.com/repos/tarnawski/stuff_register/git/commits{/sha}","comments_url":"https://api.github.com/repos/tarnawski/stuff_register/comments{/number}","issue_comment_url":"https://api.github.com/repos/tarnawski/stuff_register/issues/comments{/number}","contents_url":"https://api.github.com/repos/tarnawski/stuff_register/contents/{+path}","compare_url":"https://api.github.com/repos/tarnawski/stuff_register/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tarnawski/stuff_register/merges","archive_url":"https://api.github.com/repos/tarnawski/stuff_register/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tarnawski/stuff_register/downloads","issues_url":"https://api.github.com/repos/tarnawski/stuff_register/issues{/number}","pulls_url":"https://api.github.com/repos/tarnawski/stuff_register/pulls{/number}","milestones_url":"https://api.github.com/repos/tarnawski/stuff_register/milestones{/number}","notifications_url":"https://api.github.com/repos/tarnawski/stuff_register/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tarnawski/stuff_register/labels{/name}","releases_url":"https://api.github.com/repos/tarnawski/stuff_register/releases{/id}","created_at":"2015-11-05T23:40:34Z","updated_at":"2015-11-05T23:42:49Z","pushed_at":"2015-11-20T17:30:33Z","git_url":"git://github.com/tarnawski/stuff_register.git","ssh_url":"git@github.com:tarnawski/stuff_register.git","clone_url":"https://github.com/tarnawski/stuff_register.git","svn_url":"https://github.com/tarnawski/stuff_register","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"tarnawski:develop","ref":"develop","sha":"e306ec76ba55bfe764d22ea37fc20e6b271f77a2","user":{"login":"tarnawski","id":11235024,"avatar_url":"https://avatars.githubusercontent.com/u/11235024?v=3","gravatar_id":"","url":"https://api.github.com/users/tarnawski","html_url":"https://github.com/tarnawski","followers_url":"https://api.github.com/users/tarnawski/followers","following_url":"https://api.github.com/users/tarnawski/following{/other_user}","gists_url":"https://api.github.com/users/tarnawski/gists{/gist_id}","starred_url":"https://api.github.com/users/tarnawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarnawski/subscriptions","organizations_url":"https://api.github.com/users/tarnawski/orgs","repos_url":"https://api.github.com/users/tarnawski/repos","events_url":"https://api.github.com/users/tarnawski/events{/privacy}","received_events_url":"https://api.github.com/users/tarnawski/received_events","type":"User","site_admin":false},"repo":{"id":45646910,"name":"stuff_register","full_name":"tarnawski/stuff_register","owner":{"login":"tarnawski","id":11235024,"avatar_url":"https://avatars.githubusercontent.com/u/11235024?v=3","gravatar_id":"","url":"https://api.github.com/users/tarnawski","html_url":"https://github.com/tarnawski","followers_url":"https://api.github.com/users/tarnawski/followers","following_url":"https://api.github.com/users/tarnawski/following{/other_user}","gists_url":"https://api.github.com/users/tarnawski/gists{/gist_id}","starred_url":"https://api.github.com/users/tarnawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarnawski/subscriptions","organizations_url":"https://api.github.com/users/tarnawski/orgs","repos_url":"https://api.github.com/users/tarnawski/repos","events_url":"https://api.github.com/users/tarnawski/events{/privacy}","received_events_url":"https://api.github.com/users/tarnawski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tarnawski/stuff_register","description":"This is simple school project to register stuff","fork":false,"url":"https://api.github.com/repos/tarnawski/stuff_register","forks_url":"https://api.github.com/repos/tarnawski/stuff_register/forks","keys_url":"https://api.github.com/repos/tarnawski/stuff_register/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tarnawski/stuff_register/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tarnawski/stuff_register/teams","hooks_url":"https://api.github.com/repos/tarnawski/stuff_register/hooks","issue_events_url":"https://api.github.com/repos/tarnawski/stuff_register/issues/events{/number}","events_url":"https://api.github.com/repos/tarnawski/stuff_register/events","assignees_url":"https://api.github.com/repos/tarnawski/stuff_register/assignees{/user}","branches_url":"https://api.github.com/repos/tarnawski/stuff_register/branches{/branch}","tags_url":"https://api.github.com/repos/tarnawski/stuff_register/tags","blobs_url":"https://api.github.com/repos/tarnawski/stuff_register/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tarnawski/stuff_register/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tarnawski/stuff_register/git/refs{/sha}","trees_url":"https://api.github.com/repos/tarnawski/stuff_register/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tarnawski/stuff_register/statuses/{sha}","languages_url":"https://api.github.com/repos/tarnawski/stuff_register/languages","stargazers_url":"https://api.github.com/repos/tarnawski/stuff_register/stargazers","contributors_url":"https://api.github.com/repos/tarnawski/stuff_register/contributors","subscribers_url":"https://api.github.com/repos/tarnawski/stuff_register/subscribers","subscription_url":"https://api.github.com/repos/tarnawski/stuff_register/subscription","commits_url":"https://api.github.com/repos/tarnawski/stuff_register/commits{/sha}","git_commits_url":"https://api.github.com/repos/tarnawski/stuff_register/git/commits{/sha}","comments_url":"https://api.github.com/repos/tarnawski/stuff_register/comments{/number}","issue_comment_url":"https://api.github.com/repos/tarnawski/stuff_register/issues/comments{/number}","contents_url":"https://api.github.com/repos/tarnawski/stuff_register/contents/{+path}","compare_url":"https://api.github.com/repos/tarnawski/stuff_register/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tarnawski/stuff_register/merges","archive_url":"https://api.github.com/repos/tarnawski/stuff_register/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tarnawski/stuff_register/downloads","issues_url":"https://api.github.com/repos/tarnawski/stuff_register/issues{/number}","pulls_url":"https://api.github.com/repos/tarnawski/stuff_register/pulls{/number}","milestones_url":"https://api.github.com/repos/tarnawski/stuff_register/milestones{/number}","notifications_url":"https://api.github.com/repos/tarnawski/stuff_register/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tarnawski/stuff_register/labels{/name}","releases_url":"https://api.github.com/repos/tarnawski/stuff_register/releases{/id}","created_at":"2015-11-05T23:40:34Z","updated_at":"2015-11-05T23:42:49Z","pushed_at":"2015-11-20T17:30:33Z","git_url":"git://github.com/tarnawski/stuff_register.git","ssh_url":"git@github.com:tarnawski/stuff_register.git","clone_url":"https://github.com/tarnawski/stuff_register.git","svn_url":"https://github.com/tarnawski/stuff_register","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13"},"html":{"href":"https://github.com/tarnawski/stuff_register/pull/13"},"issue":{"href":"https://api.github.com/repos/tarnawski/stuff_register/issues/13"},"comments":{"href":"https://api.github.com/repos/tarnawski/stuff_register/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/tarnawski/stuff_register/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tarnawski/stuff_register/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/tarnawski/stuff_register/statuses/0d242522dfa9522c7f7dc3fadaf041019615cbb6"}}}}