{"action":"created","comment":{"url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/comments/86909175","pull_request_review_id":7543512,"id":86909175,"diff_hunk":"@@ -8,7 +8,7 @@ def initialize(order, cart)\n   end\n \n   def create\n-    add_items_to_order if @order.save\n+    add_items_to_order if !@cart.nil? && @order.save","path":"app/models/order_completion.rb","position":5,"original_position":5,"commit_id":"a66a44a2e8297f6f2d1269f3974417cf490bee71","original_commit_id":"a66a44a2e8297f6f2d1269f3974417cf490bee71","user":{"login":"meganft","id":19432922,"avatar_url":"https://avatars.githubusercontent.com/u/19432922?v=3","gravatar_id":"","url":"https://api.github.com/users/meganft","html_url":"https://github.com/meganft","followers_url":"https://api.github.com/users/meganft/followers","following_url":"https://api.github.com/users/meganft/following{/other_user}","gists_url":"https://api.github.com/users/meganft/gists{/gist_id}","starred_url":"https://api.github.com/users/meganft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meganft/subscriptions","organizations_url":"https://api.github.com/users/meganft/orgs","repos_url":"https://api.github.com/users/meganft/repos","events_url":"https://api.github.com/users/meganft/events{/privacy}","received_events_url":"https://api.github.com/users/meganft/received_events","type":"User","site_admin":false},"body":"Glad we fixed this!","created_at":"2016-11-08T01:44:41Z","updated_at":"2016-11-08T01:44:41Z","html_url":"https://github.com/epintozzi/root_and_branch/pull/121#discussion_r86909175","pull_request_url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121","_links":{"self":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/comments/86909175"},"html":{"href":"https://github.com/epintozzi/root_and_branch/pull/121#discussion_r86909175"},"pull_request":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121"}}},"pull_request":{"url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121","id":92691773,"html_url":"https://github.com/epintozzi/root_and_branch/pull/121","diff_url":"https://github.com/epintozzi/root_and_branch/pull/121.diff","patch_url":"https://github.com/epintozzi/root_and_branch/pull/121.patch","issue_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues/121","number":121,"state":"open","locked":false,"title":"As ep admin update status","user":{"login":"epintozzi","id":5739330,"avatar_url":"https://avatars.githubusercontent.com/u/5739330?v=3","gravatar_id":"","url":"https://api.github.com/users/epintozzi","html_url":"https://github.com/epintozzi","followers_url":"https://api.github.com/users/epintozzi/followers","following_url":"https://api.github.com/users/epintozzi/following{/other_user}","gists_url":"https://api.github.com/users/epintozzi/gists{/gist_id}","starred_url":"https://api.github.com/users/epintozzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintozzi/subscriptions","organizations_url":"https://api.github.com/users/epintozzi/orgs","repos_url":"https://api.github.com/users/epintozzi/repos","events_url":"https://api.github.com/users/epintozzi/events{/privacy}","received_events_url":"https://api.github.com/users/epintozzi/received_events","type":"User","site_admin":false},"body":"@annadolan @meganft \r\n- Add ability for admin to edit existing items\r\n- Create test for functionality\r\n- Style admin items index\r\n- Update background color on user's item index and category pages (we can change this back if the green background color was intentional)","created_at":"2016-11-08T00:16:30Z","updated_at":"2016-11-08T01:44:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3e781c13ef27e5a618bebba0d084a76aa8cdf14","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121/commits","review_comments_url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121/comments","review_comment_url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues/121/comments","statuses_url":"https://api.github.com/repos/epintozzi/root_and_branch/statuses/a66a44a2e8297f6f2d1269f3974417cf490bee71","head":{"label":"epintozzi:as_ep_admin_update_status","ref":"as_ep_admin_update_status","sha":"a66a44a2e8297f6f2d1269f3974417cf490bee71","user":{"login":"epintozzi","id":5739330,"avatar_url":"https://avatars.githubusercontent.com/u/5739330?v=3","gravatar_id":"","url":"https://api.github.com/users/epintozzi","html_url":"https://github.com/epintozzi","followers_url":"https://api.github.com/users/epintozzi/followers","following_url":"https://api.github.com/users/epintozzi/following{/other_user}","gists_url":"https://api.github.com/users/epintozzi/gists{/gist_id}","starred_url":"https://api.github.com/users/epintozzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintozzi/subscriptions","organizations_url":"https://api.github.com/users/epintozzi/orgs","repos_url":"https://api.github.com/users/epintozzi/repos","events_url":"https://api.github.com/users/epintozzi/events{/privacy}","received_events_url":"https://api.github.com/users/epintozzi/received_events","type":"User","site_admin":false},"repo":{"id":72482794,"name":"root_and_branch","full_name":"epintozzi/root_and_branch","owner":{"login":"epintozzi","id":5739330,"avatar_url":"https://avatars.githubusercontent.com/u/5739330?v=3","gravatar_id":"","url":"https://api.github.com/users/epintozzi","html_url":"https://github.com/epintozzi","followers_url":"https://api.github.com/users/epintozzi/followers","following_url":"https://api.github.com/users/epintozzi/following{/other_user}","gists_url":"https://api.github.com/users/epintozzi/gists{/gist_id}","starred_url":"https://api.github.com/users/epintozzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintozzi/subscriptions","organizations_url":"https://api.github.com/users/epintozzi/orgs","repos_url":"https://api.github.com/users/epintozzi/repos","events_url":"https://api.github.com/users/epintozzi/events{/privacy}","received_events_url":"https://api.github.com/users/epintozzi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/epintozzi/root_and_branch","description":null,"fork":false,"url":"https://api.github.com/repos/epintozzi/root_and_branch","forks_url":"https://api.github.com/repos/epintozzi/root_and_branch/forks","keys_url":"https://api.github.com/repos/epintozzi/root_and_branch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epintozzi/root_and_branch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epintozzi/root_and_branch/teams","hooks_url":"https://api.github.com/repos/epintozzi/root_and_branch/hooks","issue_events_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues/events{/number}","events_url":"https://api.github.com/repos/epintozzi/root_and_branch/events","assignees_url":"https://api.github.com/repos/epintozzi/root_and_branch/assignees{/user}","branches_url":"https://api.github.com/repos/epintozzi/root_and_branch/branches{/branch}","tags_url":"https://api.github.com/repos/epintozzi/root_and_branch/tags","blobs_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/refs{/sha}","trees_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epintozzi/root_and_branch/statuses/{sha}","languages_url":"https://api.github.com/repos/epintozzi/root_and_branch/languages","stargazers_url":"https://api.github.com/repos/epintozzi/root_and_branch/stargazers","contributors_url":"https://api.github.com/repos/epintozzi/root_and_branch/contributors","subscribers_url":"https://api.github.com/repos/epintozzi/root_and_branch/subscribers","subscription_url":"https://api.github.com/repos/epintozzi/root_and_branch/subscription","commits_url":"https://api.github.com/repos/epintozzi/root_and_branch/commits{/sha}","git_commits_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/commits{/sha}","comments_url":"https://api.github.com/repos/epintozzi/root_and_branch/comments{/number}","issue_comment_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues/comments{/number}","contents_url":"https://api.github.com/repos/epintozzi/root_and_branch/contents/{+path}","compare_url":"https://api.github.com/repos/epintozzi/root_and_branch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epintozzi/root_and_branch/merges","archive_url":"https://api.github.com/repos/epintozzi/root_and_branch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epintozzi/root_and_branch/downloads","issues_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues{/number}","pulls_url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls{/number}","milestones_url":"https://api.github.com/repos/epintozzi/root_and_branch/milestones{/number}","notifications_url":"https://api.github.com/repos/epintozzi/root_and_branch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epintozzi/root_and_branch/labels{/name}","releases_url":"https://api.github.com/repos/epintozzi/root_and_branch/releases{/id}","deployments_url":"https://api.github.com/repos/epintozzi/root_and_branch/deployments","created_at":"2016-10-31T22:19:40Z","updated_at":"2016-10-31T22:21:06Z","pushed_at":"2016-11-08T00:45:44Z","git_url":"git://github.com/epintozzi/root_and_branch.git","ssh_url":"git@github.com:epintozzi/root_and_branch.git","clone_url":"https://github.com/epintozzi/root_and_branch.git","svn_url":"https://github.com/epintozzi/root_and_branch","homepage":null,"size":2114,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"epintozzi:master","ref":"master","sha":"e4788b861a26c4ed5ee168c28139c398c4325f51","user":{"login":"epintozzi","id":5739330,"avatar_url":"https://avatars.githubusercontent.com/u/5739330?v=3","gravatar_id":"","url":"https://api.github.com/users/epintozzi","html_url":"https://github.com/epintozzi","followers_url":"https://api.github.com/users/epintozzi/followers","following_url":"https://api.github.com/users/epintozzi/following{/other_user}","gists_url":"https://api.github.com/users/epintozzi/gists{/gist_id}","starred_url":"https://api.github.com/users/epintozzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintozzi/subscriptions","organizations_url":"https://api.github.com/users/epintozzi/orgs","repos_url":"https://api.github.com/users/epintozzi/repos","events_url":"https://api.github.com/users/epintozzi/events{/privacy}","received_events_url":"https://api.github.com/users/epintozzi/received_events","type":"User","site_admin":false},"repo":{"id":72482794,"name":"root_and_branch","full_name":"epintozzi/root_and_branch","owner":{"login":"epintozzi","id":5739330,"avatar_url":"https://avatars.githubusercontent.com/u/5739330?v=3","gravatar_id":"","url":"https://api.github.com/users/epintozzi","html_url":"https://github.com/epintozzi","followers_url":"https://api.github.com/users/epintozzi/followers","following_url":"https://api.github.com/users/epintozzi/following{/other_user}","gists_url":"https://api.github.com/users/epintozzi/gists{/gist_id}","starred_url":"https://api.github.com/users/epintozzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintozzi/subscriptions","organizations_url":"https://api.github.com/users/epintozzi/orgs","repos_url":"https://api.github.com/users/epintozzi/repos","events_url":"https://api.github.com/users/epintozzi/events{/privacy}","received_events_url":"https://api.github.com/users/epintozzi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/epintozzi/root_and_branch","description":null,"fork":false,"url":"https://api.github.com/repos/epintozzi/root_and_branch","forks_url":"https://api.github.com/repos/epintozzi/root_and_branch/forks","keys_url":"https://api.github.com/repos/epintozzi/root_and_branch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epintozzi/root_and_branch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epintozzi/root_and_branch/teams","hooks_url":"https://api.github.com/repos/epintozzi/root_and_branch/hooks","issue_events_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues/events{/number}","events_url":"https://api.github.com/repos/epintozzi/root_and_branch/events","assignees_url":"https://api.github.com/repos/epintozzi/root_and_branch/assignees{/user}","branches_url":"https://api.github.com/repos/epintozzi/root_and_branch/branches{/branch}","tags_url":"https://api.github.com/repos/epintozzi/root_and_branch/tags","blobs_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/refs{/sha}","trees_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epintozzi/root_and_branch/statuses/{sha}","languages_url":"https://api.github.com/repos/epintozzi/root_and_branch/languages","stargazers_url":"https://api.github.com/repos/epintozzi/root_and_branch/stargazers","contributors_url":"https://api.github.com/repos/epintozzi/root_and_branch/contributors","subscribers_url":"https://api.github.com/repos/epintozzi/root_and_branch/subscribers","subscription_url":"https://api.github.com/repos/epintozzi/root_and_branch/subscription","commits_url":"https://api.github.com/repos/epintozzi/root_and_branch/commits{/sha}","git_commits_url":"https://api.github.com/repos/epintozzi/root_and_branch/git/commits{/sha}","comments_url":"https://api.github.com/repos/epintozzi/root_and_branch/comments{/number}","issue_comment_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues/comments{/number}","contents_url":"https://api.github.com/repos/epintozzi/root_and_branch/contents/{+path}","compare_url":"https://api.github.com/repos/epintozzi/root_and_branch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epintozzi/root_and_branch/merges","archive_url":"https://api.github.com/repos/epintozzi/root_and_branch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epintozzi/root_and_branch/downloads","issues_url":"https://api.github.com/repos/epintozzi/root_and_branch/issues{/number}","pulls_url":"https://api.github.com/repos/epintozzi/root_and_branch/pulls{/number}","milestones_url":"https://api.github.com/repos/epintozzi/root_and_branch/milestones{/number}","notifications_url":"https://api.github.com/repos/epintozzi/root_and_branch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epintozzi/root_and_branch/labels{/name}","releases_url":"https://api.github.com/repos/epintozzi/root_and_branch/releases{/id}","deployments_url":"https://api.github.com/repos/epintozzi/root_and_branch/deployments","created_at":"2016-10-31T22:19:40Z","updated_at":"2016-10-31T22:21:06Z","pushed_at":"2016-11-08T00:45:44Z","git_url":"git://github.com/epintozzi/root_and_branch.git","ssh_url":"git@github.com:epintozzi/root_and_branch.git","clone_url":"https://github.com/epintozzi/root_and_branch.git","svn_url":"https://github.com/epintozzi/root_and_branch","homepage":null,"size":2114,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121"},"html":{"href":"https://github.com/epintozzi/root_and_branch/pull/121"},"issue":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/issues/121"},"comments":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/epintozzi/root_and_branch/statuses/a66a44a2e8297f6f2d1269f3974417cf490bee71"}}}}
{"actor":{"display_login":"meganft"}}