{"action":"created","comment":{"url":"https://api.github.com/repos/mikedao/dinner_dash/pulls/comments/23399502","id":23399502,"diff_hunk":"@@ -84,19 +84,17 @@ def add_items_to_categories\n     categories[5].items = [ items[14], items[15] ]\n   end\n \n-\n   def add_items(order)\n     5.times do |i|\n-      item = Item.find(rand(22)+1)\n-      order.items << item\n-      puts \"#{i}: Added item #{item.title} to order #{order.id}.\"\n+      item = Item.find(rand(21) + 1)\n+      OrderItem.create(item_id: item.id, quantity: 1, order_id: order.id, line_item_price: item.unit_price)","path":"db/seeds.rb","position":22,"original_position":22,"commit_id":"9487977a201574f3109b291d3221a0afe18bdcb6","original_commit_id":"9487977a201574f3109b291d3221a0afe18bdcb6","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [107/80]","created_at":"2015-01-22T18:55:24Z","updated_at":"2015-01-22T18:55:24Z","html_url":"https://github.com/mikedao/dinner_dash/pull/53#discussion_r23399502","pull_request_url":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/mikedao/dinner_dash/pulls/comments/23399502"},"html":{"href":"https://github.com/mikedao/dinner_dash/pull/53#discussion_r23399502"},"pull_request":{"href":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53","id":27867550,"html_url":"https://github.com/mikedao/dinner_dash/pull/53","diff_url":"https://github.com/mikedao/dinner_dash/pull/53.diff","patch_url":"https://github.com/mikedao/dinner_dash/pull/53.patch","issue_url":"https://api.github.com/repos/mikedao/dinner_dash/issues/53","number":53,"state":"open","locked":false,"title":"admin setup stuff","user":{"login":"ndwhtlssthr","id":3827810,"avatar_url":"https://avatars.githubusercontent.com/u/3827810?v=3","gravatar_id":"","url":"https://api.github.com/users/ndwhtlssthr","html_url":"https://github.com/ndwhtlssthr","followers_url":"https://api.github.com/users/ndwhtlssthr/followers","following_url":"https://api.github.com/users/ndwhtlssthr/following{/other_user}","gists_url":"https://api.github.com/users/ndwhtlssthr/gists{/gist_id}","starred_url":"https://api.github.com/users/ndwhtlssthr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndwhtlssthr/subscriptions","organizations_url":"https://api.github.com/users/ndwhtlssthr/orgs","repos_url":"https://api.github.com/users/ndwhtlssthr/repos","events_url":"https://api.github.com/users/ndwhtlssthr/events{/privacy}","received_events_url":"https://api.github.com/users/ndwhtlssthr/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-22T18:55:22Z","updated_at":"2015-01-22T18:55:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53/commits","review_comments_url":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53/comments","review_comment_url":"https://api.github.com/repos/mikedao/dinner_dash/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mikedao/dinner_dash/issues/53/comments","statuses_url":"https://api.github.com/repos/mikedao/dinner_dash/statuses/9487977a201574f3109b291d3221a0afe18bdcb6","head":{"label":"mikedao:admin_dash_routes_47","ref":"admin_dash_routes_47","sha":"9487977a201574f3109b291d3221a0afe18bdcb6","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":29539006,"name":"dinner_dash","full_name":"mikedao/dinner_dash","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/dinner_dash","forks_url":"https://api.github.com/repos/mikedao/dinner_dash/forks","keys_url":"https://api.github.com/repos/mikedao/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/dinner_dash/teams","hooks_url":"https://api.github.com/repos/mikedao/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/mikedao/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/dinner_dash/events","assignees_url":"https://api.github.com/repos/mikedao/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/dinner_dash/tags","blobs_url":"https://api.github.com/repos/mikedao/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/mikedao/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/mikedao/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/mikedao/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/mikedao/dinner_dash/subscription","commits_url":"https://api.github.com/repos/mikedao/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/dinner_dash/issues/comments/{number}","contents_url":"https://api.github.com/repos/mikedao/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/dinner_dash/merges","archive_url":"https://api.github.com/repos/mikedao/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/dinner_dash/downloads","issues_url":"https://api.github.com/repos/mikedao/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/dinner_dash/releases{/id}","created_at":"2015-01-20T16:21:23Z","updated_at":"2015-01-22T15:50:32Z","pushed_at":"2015-01-22T18:54:46Z","git_url":"git://github.com/mikedao/dinner_dash.git","ssh_url":"git@github.com:mikedao/dinner_dash.git","clone_url":"https://github.com/mikedao/dinner_dash.git","svn_url":"https://github.com/mikedao/dinner_dash","homepage":null,"size":608,"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":31,"forks":0,"open_issues":31,"watchers":0,"default_branch":"master"}},"base":{"label":"mikedao:master","ref":"master","sha":"63e26d3c60b9f4eb2490bdf5530c304afcaab168","user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"repo":{"id":29539006,"name":"dinner_dash","full_name":"mikedao/dinner_dash","owner":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikedao/dinner_dash","description":"","fork":false,"url":"https://api.github.com/repos/mikedao/dinner_dash","forks_url":"https://api.github.com/repos/mikedao/dinner_dash/forks","keys_url":"https://api.github.com/repos/mikedao/dinner_dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikedao/dinner_dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikedao/dinner_dash/teams","hooks_url":"https://api.github.com/repos/mikedao/dinner_dash/hooks","issue_events_url":"https://api.github.com/repos/mikedao/dinner_dash/issues/events{/number}","events_url":"https://api.github.com/repos/mikedao/dinner_dash/events","assignees_url":"https://api.github.com/repos/mikedao/dinner_dash/assignees{/user}","branches_url":"https://api.github.com/repos/mikedao/dinner_dash/branches{/branch}","tags_url":"https://api.github.com/repos/mikedao/dinner_dash/tags","blobs_url":"https://api.github.com/repos/mikedao/dinner_dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikedao/dinner_dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikedao/dinner_dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikedao/dinner_dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikedao/dinner_dash/statuses/{sha}","languages_url":"https://api.github.com/repos/mikedao/dinner_dash/languages","stargazers_url":"https://api.github.com/repos/mikedao/dinner_dash/stargazers","contributors_url":"https://api.github.com/repos/mikedao/dinner_dash/contributors","subscribers_url":"https://api.github.com/repos/mikedao/dinner_dash/subscribers","subscription_url":"https://api.github.com/repos/mikedao/dinner_dash/subscription","commits_url":"https://api.github.com/repos/mikedao/dinner_dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikedao/dinner_dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikedao/dinner_dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikedao/dinner_dash/issues/comments/{number}","contents_url":"https://api.github.com/repos/mikedao/dinner_dash/contents/{+path}","compare_url":"https://api.github.com/repos/mikedao/dinner_dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikedao/dinner_dash/merges","archive_url":"https://api.github.com/repos/mikedao/dinner_dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikedao/dinner_dash/downloads","issues_url":"https://api.github.com/repos/mikedao/dinner_dash/issues{/number}","pulls_url":"https://api.github.com/repos/mikedao/dinner_dash/pulls{/number}","milestones_url":"https://api.github.com/repos/mikedao/dinner_dash/milestones{/number}","notifications_url":"https://api.github.com/repos/mikedao/dinner_dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikedao/dinner_dash/labels{/name}","releases_url":"https://api.github.com/repos/mikedao/dinner_dash/releases{/id}","created_at":"2015-01-20T16:21:23Z","updated_at":"2015-01-22T15:50:32Z","pushed_at":"2015-01-22T18:54:46Z","git_url":"git://github.com/mikedao/dinner_dash.git","ssh_url":"git@github.com:mikedao/dinner_dash.git","clone_url":"https://github.com/mikedao/dinner_dash.git","svn_url":"https://github.com/mikedao/dinner_dash","homepage":null,"size":608,"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":31,"forks":0,"open_issues":31,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53"},"html":{"href":"https://github.com/mikedao/dinner_dash/pull/53"},"issue":{"href":"https://api.github.com/repos/mikedao/dinner_dash/issues/53"},"comments":{"href":"https://api.github.com/repos/mikedao/dinner_dash/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/mikedao/dinner_dash/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mikedao/dinner_dash/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/mikedao/dinner_dash/statuses/9487977a201574f3109b291d3221a0afe18bdcb6"}}}}