{"action":"created","comment":{"url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/comments/243777273","pull_request_review_id":187633984,"id":243777273,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mzc3NzI3Mw==","diff_hunk":"@@ -43,6 +43,8 @@\n   create_table \"orders\", force: :cascade do |t|\n     t.string \"status\"\n     t.bigint \"user_id\"\n+    t.datetime \"created_at\", null: false","path":"db/schema.rb","position":4,"original_position":4,"commit_id":"fdbb452b7ca9422ccf89b474fd7bbd030e329a06","original_commit_id":"fdbb452b7ca9422ccf89b474fd7bbd030e329a06","user":{"login":"le3ah","id":42391567,"node_id":"MDQ6VXNlcjQyMzkxNTY3","avatar_url":"https://avatars2.githubusercontent.com/u/42391567?v=4","gravatar_id":"","url":"https://api.github.com/users/le3ah","html_url":"https://github.com/le3ah","followers_url":"https://api.github.com/users/le3ah/followers","following_url":"https://api.github.com/users/le3ah/following{/other_user}","gists_url":"https://api.github.com/users/le3ah/gists{/gist_id}","starred_url":"https://api.github.com/users/le3ah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/le3ah/subscriptions","organizations_url":"https://api.github.com/users/le3ah/orgs","repos_url":"https://api.github.com/users/le3ah/repos","events_url":"https://api.github.com/users/le3ah/events{/privacy}","received_events_url":"https://api.github.com/users/le3ah/received_events","type":"User","site_admin":false},"body":"I thought we were leaving the timestamps off of the order table since we don't need them.  Either way is fine, but it might get confusing if we have them there.","created_at":"2018-12-23T22:10:21Z","updated_at":"2018-12-23T22:10:21Z","html_url":"https://github.com/stoic-plus/LittleShop/pull/195#discussion_r243777273","pull_request_url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/comments/243777273"},"html":{"href":"https://github.com/stoic-plus/LittleShop/pull/195#discussion_r243777273"},"pull_request":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195"}}},"pull_request":{"url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195","id":240696010,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNjk2MDEw","html_url":"https://github.com/stoic-plus/LittleShop/pull/195","diff_url":"https://github.com/stoic-plus/LittleShop/pull/195.diff","patch_url":"https://github.com/stoic-plus/LittleShop/pull/195.patch","issue_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues/195","number":195,"state":"open","locked":false,"title":"Cart empty #107 and User Profile displays Orders #119","user":{"login":"stoic-plus","id":27703353,"node_id":"MDQ6VXNlcjI3NzAzMzUz","avatar_url":"https://avatars0.githubusercontent.com/u/27703353?v=4","gravatar_id":"","url":"https://api.github.com/users/stoic-plus","html_url":"https://github.com/stoic-plus","followers_url":"https://api.github.com/users/stoic-plus/followers","following_url":"https://api.github.com/users/stoic-plus/following{/other_user}","gists_url":"https://api.github.com/users/stoic-plus/gists{/gist_id}","starred_url":"https://api.github.com/users/stoic-plus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoic-plus/subscriptions","organizations_url":"https://api.github.com/users/stoic-plus/orgs","repos_url":"https://api.github.com/users/stoic-plus/repos","events_url":"https://api.github.com/users/stoic-plus/events{/privacy}","received_events_url":"https://api.github.com/users/stoic-plus/received_events","type":"User","site_admin":false},"body":"closes #107 and closes #119 \r\n\r\n* Adds `empty_cart` to app controller\r\n* destroy route to cart item controller\r\n* link to empty cart on /cart\r\n* tests for page interaction and correct content to reflect cart status\r\n\r\n__Whoops!__\r\n\r\nForgot to make another branch\r\n* Also rendering a default user's order information (the following for each order)\r\n  * Id (is a link to order show page)\r\n  * Date (created and updated at)\r\n  * Status\r\n  * Total item quantity\r\n  * Grand total\r\n","created_at":"2018-12-23T18:54:22Z","updated_at":"2018-12-23T22:10:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba1c234ec7a5763cd015aaa1f122e573cd83446c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"tonyr729","id":34175382,"node_id":"MDQ6VXNlcjM0MTc1Mzgy","avatar_url":"https://avatars1.githubusercontent.com/u/34175382?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyr729","html_url":"https://github.com/tonyr729","followers_url":"https://api.github.com/users/tonyr729/followers","following_url":"https://api.github.com/users/tonyr729/following{/other_user}","gists_url":"https://api.github.com/users/tonyr729/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyr729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyr729/subscriptions","organizations_url":"https://api.github.com/users/tonyr729/orgs","repos_url":"https://api.github.com/users/tonyr729/repos","events_url":"https://api.github.com/users/tonyr729/events{/privacy}","received_events_url":"https://api.github.com/users/tonyr729/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1162765366,"node_id":"MDU6TGFiZWwxMTYyNzY1MzY2","url":"https://api.github.com/repos/stoic-plus/LittleShop/labels/review","name":"review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195/commits","review_comments_url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195/comments","review_comment_url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues/195/comments","statuses_url":"https://api.github.com/repos/stoic-plus/LittleShop/statuses/fdbb452b7ca9422ccf89b474fd7bbd030e329a06","head":{"label":"stoic-plus:cart-empty-#107","ref":"cart-empty-#107","sha":"fdbb452b7ca9422ccf89b474fd7bbd030e329a06","user":{"login":"stoic-plus","id":27703353,"node_id":"MDQ6VXNlcjI3NzAzMzUz","avatar_url":"https://avatars0.githubusercontent.com/u/27703353?v=4","gravatar_id":"","url":"https://api.github.com/users/stoic-plus","html_url":"https://github.com/stoic-plus","followers_url":"https://api.github.com/users/stoic-plus/followers","following_url":"https://api.github.com/users/stoic-plus/following{/other_user}","gists_url":"https://api.github.com/users/stoic-plus/gists{/gist_id}","starred_url":"https://api.github.com/users/stoic-plus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoic-plus/subscriptions","organizations_url":"https://api.github.com/users/stoic-plus/orgs","repos_url":"https://api.github.com/users/stoic-plus/repos","events_url":"https://api.github.com/users/stoic-plus/events{/privacy}","received_events_url":"https://api.github.com/users/stoic-plus/received_events","type":"User","site_admin":false},"repo":{"id":161812274,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE4MTIyNzQ=","name":"LittleShop","full_name":"stoic-plus/LittleShop","private":false,"owner":{"login":"stoic-plus","id":27703353,"node_id":"MDQ6VXNlcjI3NzAzMzUz","avatar_url":"https://avatars0.githubusercontent.com/u/27703353?v=4","gravatar_id":"","url":"https://api.github.com/users/stoic-plus","html_url":"https://github.com/stoic-plus","followers_url":"https://api.github.com/users/stoic-plus/followers","following_url":"https://api.github.com/users/stoic-plus/following{/other_user}","gists_url":"https://api.github.com/users/stoic-plus/gists{/gist_id}","starred_url":"https://api.github.com/users/stoic-plus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoic-plus/subscriptions","organizations_url":"https://api.github.com/users/stoic-plus/orgs","repos_url":"https://api.github.com/users/stoic-plus/repos","events_url":"https://api.github.com/users/stoic-plus/events{/privacy}","received_events_url":"https://api.github.com/users/stoic-plus/received_events","type":"User","site_admin":false},"html_url":"https://github.com/stoic-plus/LittleShop","description":null,"fork":false,"url":"https://api.github.com/repos/stoic-plus/LittleShop","forks_url":"https://api.github.com/repos/stoic-plus/LittleShop/forks","keys_url":"https://api.github.com/repos/stoic-plus/LittleShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stoic-plus/LittleShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stoic-plus/LittleShop/teams","hooks_url":"https://api.github.com/repos/stoic-plus/LittleShop/hooks","issue_events_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues/events{/number}","events_url":"https://api.github.com/repos/stoic-plus/LittleShop/events","assignees_url":"https://api.github.com/repos/stoic-plus/LittleShop/assignees{/user}","branches_url":"https://api.github.com/repos/stoic-plus/LittleShop/branches{/branch}","tags_url":"https://api.github.com/repos/stoic-plus/LittleShop/tags","blobs_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stoic-plus/LittleShop/statuses/{sha}","languages_url":"https://api.github.com/repos/stoic-plus/LittleShop/languages","stargazers_url":"https://api.github.com/repos/stoic-plus/LittleShop/stargazers","contributors_url":"https://api.github.com/repos/stoic-plus/LittleShop/contributors","subscribers_url":"https://api.github.com/repos/stoic-plus/LittleShop/subscribers","subscription_url":"https://api.github.com/repos/stoic-plus/LittleShop/subscription","commits_url":"https://api.github.com/repos/stoic-plus/LittleShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/stoic-plus/LittleShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/stoic-plus/LittleShop/contents/{+path}","compare_url":"https://api.github.com/repos/stoic-plus/LittleShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stoic-plus/LittleShop/merges","archive_url":"https://api.github.com/repos/stoic-plus/LittleShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stoic-plus/LittleShop/downloads","issues_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues{/number}","pulls_url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls{/number}","milestones_url":"https://api.github.com/repos/stoic-plus/LittleShop/milestones{/number}","notifications_url":"https://api.github.com/repos/stoic-plus/LittleShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stoic-plus/LittleShop/labels{/name}","releases_url":"https://api.github.com/repos/stoic-plus/LittleShop/releases{/id}","deployments_url":"https://api.github.com/repos/stoic-plus/LittleShop/deployments","created_at":"2018-12-14T16:28:48Z","updated_at":"2018-12-23T19:00:37Z","pushed_at":"2018-12-23T21:55:34Z","git_url":"git://github.com/stoic-plus/LittleShop.git","ssh_url":"git@github.com:stoic-plus/LittleShop.git","clone_url":"https://github.com/stoic-plus/LittleShop.git","svn_url":"https://github.com/stoic-plus/LittleShop","homepage":null,"size":713,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":54,"license":null,"forks":0,"open_issues":54,"watchers":1,"default_branch":"master"}},"base":{"label":"stoic-plus:master","ref":"master","sha":"3b159d3938a5b3a461bd749081eab33a1267157d","user":{"login":"stoic-plus","id":27703353,"node_id":"MDQ6VXNlcjI3NzAzMzUz","avatar_url":"https://avatars0.githubusercontent.com/u/27703353?v=4","gravatar_id":"","url":"https://api.github.com/users/stoic-plus","html_url":"https://github.com/stoic-plus","followers_url":"https://api.github.com/users/stoic-plus/followers","following_url":"https://api.github.com/users/stoic-plus/following{/other_user}","gists_url":"https://api.github.com/users/stoic-plus/gists{/gist_id}","starred_url":"https://api.github.com/users/stoic-plus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoic-plus/subscriptions","organizations_url":"https://api.github.com/users/stoic-plus/orgs","repos_url":"https://api.github.com/users/stoic-plus/repos","events_url":"https://api.github.com/users/stoic-plus/events{/privacy}","received_events_url":"https://api.github.com/users/stoic-plus/received_events","type":"User","site_admin":false},"repo":{"id":161812274,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE4MTIyNzQ=","name":"LittleShop","full_name":"stoic-plus/LittleShop","private":false,"owner":{"login":"stoic-plus","id":27703353,"node_id":"MDQ6VXNlcjI3NzAzMzUz","avatar_url":"https://avatars0.githubusercontent.com/u/27703353?v=4","gravatar_id":"","url":"https://api.github.com/users/stoic-plus","html_url":"https://github.com/stoic-plus","followers_url":"https://api.github.com/users/stoic-plus/followers","following_url":"https://api.github.com/users/stoic-plus/following{/other_user}","gists_url":"https://api.github.com/users/stoic-plus/gists{/gist_id}","starred_url":"https://api.github.com/users/stoic-plus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoic-plus/subscriptions","organizations_url":"https://api.github.com/users/stoic-plus/orgs","repos_url":"https://api.github.com/users/stoic-plus/repos","events_url":"https://api.github.com/users/stoic-plus/events{/privacy}","received_events_url":"https://api.github.com/users/stoic-plus/received_events","type":"User","site_admin":false},"html_url":"https://github.com/stoic-plus/LittleShop","description":null,"fork":false,"url":"https://api.github.com/repos/stoic-plus/LittleShop","forks_url":"https://api.github.com/repos/stoic-plus/LittleShop/forks","keys_url":"https://api.github.com/repos/stoic-plus/LittleShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stoic-plus/LittleShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stoic-plus/LittleShop/teams","hooks_url":"https://api.github.com/repos/stoic-plus/LittleShop/hooks","issue_events_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues/events{/number}","events_url":"https://api.github.com/repos/stoic-plus/LittleShop/events","assignees_url":"https://api.github.com/repos/stoic-plus/LittleShop/assignees{/user}","branches_url":"https://api.github.com/repos/stoic-plus/LittleShop/branches{/branch}","tags_url":"https://api.github.com/repos/stoic-plus/LittleShop/tags","blobs_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stoic-plus/LittleShop/statuses/{sha}","languages_url":"https://api.github.com/repos/stoic-plus/LittleShop/languages","stargazers_url":"https://api.github.com/repos/stoic-plus/LittleShop/stargazers","contributors_url":"https://api.github.com/repos/stoic-plus/LittleShop/contributors","subscribers_url":"https://api.github.com/repos/stoic-plus/LittleShop/subscribers","subscription_url":"https://api.github.com/repos/stoic-plus/LittleShop/subscription","commits_url":"https://api.github.com/repos/stoic-plus/LittleShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/stoic-plus/LittleShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/stoic-plus/LittleShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/stoic-plus/LittleShop/contents/{+path}","compare_url":"https://api.github.com/repos/stoic-plus/LittleShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stoic-plus/LittleShop/merges","archive_url":"https://api.github.com/repos/stoic-plus/LittleShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stoic-plus/LittleShop/downloads","issues_url":"https://api.github.com/repos/stoic-plus/LittleShop/issues{/number}","pulls_url":"https://api.github.com/repos/stoic-plus/LittleShop/pulls{/number}","milestones_url":"https://api.github.com/repos/stoic-plus/LittleShop/milestones{/number}","notifications_url":"https://api.github.com/repos/stoic-plus/LittleShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stoic-plus/LittleShop/labels{/name}","releases_url":"https://api.github.com/repos/stoic-plus/LittleShop/releases{/id}","deployments_url":"https://api.github.com/repos/stoic-plus/LittleShop/deployments","created_at":"2018-12-14T16:28:48Z","updated_at":"2018-12-23T19:00:37Z","pushed_at":"2018-12-23T21:55:34Z","git_url":"git://github.com/stoic-plus/LittleShop.git","ssh_url":"git@github.com:stoic-plus/LittleShop.git","clone_url":"https://github.com/stoic-plus/LittleShop.git","svn_url":"https://github.com/stoic-plus/LittleShop","homepage":null,"size":713,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":54,"license":null,"forks":0,"open_issues":54,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195"},"html":{"href":"https://github.com/stoic-plus/LittleShop/pull/195"},"issue":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/issues/195"},"comments":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/issues/195/comments"},"review_comments":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195/comments"},"review_comment":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/pulls/195/commits"},"statuses":{"href":"https://api.github.com/repos/stoic-plus/LittleShop/statuses/fdbb452b7ca9422ccf89b474fd7bbd030e329a06"}},"author_association":"OWNER"}}
{"actor":{"display_login":"le3ah"}}