{"action":"created","comment":{"url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/comments/25302906","id":25302906,"diff_hunk":"@@ -1,7 +1,6 @@\n class OrdersController < ApplicationController\n   def show\n     @order = Order.find(params[:id])\n-    @items = @order.order_items\n   end","path":"app/controllers/orders_controller.rb","position":5,"original_position":5,"commit_id":"7227a29f25182929ec6fd74282aebc11f88e572e","original_commit_id":"7227a29f25182929ec6fd74282aebc11f88e572e","user":{"login":"KristaANelson","id":8313881,"avatar_url":"https://avatars.githubusercontent.com/u/8313881?v=3","gravatar_id":"","url":"https://api.github.com/users/KristaANelson","html_url":"https://github.com/KristaANelson","followers_url":"https://api.github.com/users/KristaANelson/followers","following_url":"https://api.github.com/users/KristaANelson/following{/other_user}","gists_url":"https://api.github.com/users/KristaANelson/gists{/gist_id}","starred_url":"https://api.github.com/users/KristaANelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristaANelson/subscriptions","organizations_url":"https://api.github.com/users/KristaANelson/orgs","repos_url":"https://api.github.com/users/KristaANelson/repos","events_url":"https://api.github.com/users/KristaANelson/events{/privacy}","received_events_url":"https://api.github.com/users/KristaANelson/received_events","type":"User","site_admin":false},"body":"You can just call @order.items so @items is not needed","created_at":"2015-02-24T23:06:19Z","updated_at":"2015-02-24T23:06:19Z","html_url":"https://github.com/KristaANelson/the_pivot/pull/165#discussion_r25302906","pull_request_url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165","_links":{"self":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/comments/25302906"},"html":{"href":"https://github.com/KristaANelson/the_pivot/pull/165#discussion_r25302906"},"pull_request":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165"}}},"pull_request":{"url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165","id":29945416,"html_url":"https://github.com/KristaANelson/the_pivot/pull/165","diff_url":"https://github.com/KristaANelson/the_pivot/pull/165.diff","patch_url":"https://github.com/KristaANelson/the_pivot/pull/165.patch","issue_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues/165","number":165,"state":"open","locked":false,"title":"As a user purchasing a physical ticket, the seller is notified to mail them after purchase, closes #33, closes #12","user":{"login":"KristaANelson","id":8313881,"avatar_url":"https://avatars.githubusercontent.com/u/8313881?v=3","gravatar_id":"","url":"https://api.github.com/users/KristaANelson","html_url":"https://github.com/KristaANelson","followers_url":"https://api.github.com/users/KristaANelson/followers","following_url":"https://api.github.com/users/KristaANelson/following{/other_user}","gists_url":"https://api.github.com/users/KristaANelson/gists{/gist_id}","starred_url":"https://api.github.com/users/KristaANelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristaANelson/subscriptions","organizations_url":"https://api.github.com/users/KristaANelson/orgs","repos_url":"https://api.github.com/users/KristaANelson/repos","events_url":"https://api.github.com/users/KristaANelson/events{/privacy}","received_events_url":"https://api.github.com/users/KristaANelson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-24T23:05:50Z","updated_at":"2015-02-24T23:06:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4e1c4c0a78f2865ee357eb39838347eea70e4bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165/commits","review_comments_url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165/comments","review_comment_url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues/165/comments","statuses_url":"https://api.github.com/repos/KristaANelson/the_pivot/statuses/7227a29f25182929ec6fd74282aebc11f88e572e","head":{"label":"KristaANelson:order_emails","ref":"order_emails","sha":"7227a29f25182929ec6fd74282aebc11f88e572e","user":{"login":"KristaANelson","id":8313881,"avatar_url":"https://avatars.githubusercontent.com/u/8313881?v=3","gravatar_id":"","url":"https://api.github.com/users/KristaANelson","html_url":"https://github.com/KristaANelson","followers_url":"https://api.github.com/users/KristaANelson/followers","following_url":"https://api.github.com/users/KristaANelson/following{/other_user}","gists_url":"https://api.github.com/users/KristaANelson/gists{/gist_id}","starred_url":"https://api.github.com/users/KristaANelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristaANelson/subscriptions","organizations_url":"https://api.github.com/users/KristaANelson/orgs","repos_url":"https://api.github.com/users/KristaANelson/repos","events_url":"https://api.github.com/users/KristaANelson/events{/privacy}","received_events_url":"https://api.github.com/users/KristaANelson/received_events","type":"User","site_admin":false},"repo":{"id":30559033,"name":"the_pivot","full_name":"KristaANelson/the_pivot","owner":{"login":"KristaANelson","id":8313881,"avatar_url":"https://avatars.githubusercontent.com/u/8313881?v=3","gravatar_id":"","url":"https://api.github.com/users/KristaANelson","html_url":"https://github.com/KristaANelson","followers_url":"https://api.github.com/users/KristaANelson/followers","following_url":"https://api.github.com/users/KristaANelson/following{/other_user}","gists_url":"https://api.github.com/users/KristaANelson/gists{/gist_id}","starred_url":"https://api.github.com/users/KristaANelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristaANelson/subscriptions","organizations_url":"https://api.github.com/users/KristaANelson/orgs","repos_url":"https://api.github.com/users/KristaANelson/repos","events_url":"https://api.github.com/users/KristaANelson/events{/privacy}","received_events_url":"https://api.github.com/users/KristaANelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KristaANelson/the_pivot","description":"","fork":false,"url":"https://api.github.com/repos/KristaANelson/the_pivot","forks_url":"https://api.github.com/repos/KristaANelson/the_pivot/forks","keys_url":"https://api.github.com/repos/KristaANelson/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KristaANelson/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KristaANelson/the_pivot/teams","hooks_url":"https://api.github.com/repos/KristaANelson/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/KristaANelson/the_pivot/events","assignees_url":"https://api.github.com/repos/KristaANelson/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/KristaANelson/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/KristaANelson/the_pivot/tags","blobs_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KristaANelson/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/KristaANelson/the_pivot/languages","stargazers_url":"https://api.github.com/repos/KristaANelson/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/KristaANelson/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/KristaANelson/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/KristaANelson/the_pivot/subscription","commits_url":"https://api.github.com/repos/KristaANelson/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/KristaANelson/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/KristaANelson/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/KristaANelson/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KristaANelson/the_pivot/merges","archive_url":"https://api.github.com/repos/KristaANelson/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KristaANelson/the_pivot/downloads","issues_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/KristaANelson/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/KristaANelson/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KristaANelson/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/KristaANelson/the_pivot/releases{/id}","created_at":"2015-02-09T21:19:41Z","updated_at":"2015-02-24T22:23:21Z","pushed_at":"2015-02-24T23:05:23Z","git_url":"git://github.com/KristaANelson/the_pivot.git","ssh_url":"git@github.com:KristaANelson/the_pivot.git","clone_url":"https://github.com/KristaANelson/the_pivot.git","svn_url":"https://github.com/KristaANelson/the_pivot","homepage":null,"size":38141,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":25,"forks":3,"open_issues":25,"watchers":0,"default_branch":"master"}},"base":{"label":"KristaANelson:master","ref":"master","sha":"31de3476d75d2fc8b11dab5ba0dc28981eecfde2","user":{"login":"KristaANelson","id":8313881,"avatar_url":"https://avatars.githubusercontent.com/u/8313881?v=3","gravatar_id":"","url":"https://api.github.com/users/KristaANelson","html_url":"https://github.com/KristaANelson","followers_url":"https://api.github.com/users/KristaANelson/followers","following_url":"https://api.github.com/users/KristaANelson/following{/other_user}","gists_url":"https://api.github.com/users/KristaANelson/gists{/gist_id}","starred_url":"https://api.github.com/users/KristaANelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristaANelson/subscriptions","organizations_url":"https://api.github.com/users/KristaANelson/orgs","repos_url":"https://api.github.com/users/KristaANelson/repos","events_url":"https://api.github.com/users/KristaANelson/events{/privacy}","received_events_url":"https://api.github.com/users/KristaANelson/received_events","type":"User","site_admin":false},"repo":{"id":30559033,"name":"the_pivot","full_name":"KristaANelson/the_pivot","owner":{"login":"KristaANelson","id":8313881,"avatar_url":"https://avatars.githubusercontent.com/u/8313881?v=3","gravatar_id":"","url":"https://api.github.com/users/KristaANelson","html_url":"https://github.com/KristaANelson","followers_url":"https://api.github.com/users/KristaANelson/followers","following_url":"https://api.github.com/users/KristaANelson/following{/other_user}","gists_url":"https://api.github.com/users/KristaANelson/gists{/gist_id}","starred_url":"https://api.github.com/users/KristaANelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristaANelson/subscriptions","organizations_url":"https://api.github.com/users/KristaANelson/orgs","repos_url":"https://api.github.com/users/KristaANelson/repos","events_url":"https://api.github.com/users/KristaANelson/events{/privacy}","received_events_url":"https://api.github.com/users/KristaANelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KristaANelson/the_pivot","description":"","fork":false,"url":"https://api.github.com/repos/KristaANelson/the_pivot","forks_url":"https://api.github.com/repos/KristaANelson/the_pivot/forks","keys_url":"https://api.github.com/repos/KristaANelson/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KristaANelson/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KristaANelson/the_pivot/teams","hooks_url":"https://api.github.com/repos/KristaANelson/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/KristaANelson/the_pivot/events","assignees_url":"https://api.github.com/repos/KristaANelson/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/KristaANelson/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/KristaANelson/the_pivot/tags","blobs_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KristaANelson/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/KristaANelson/the_pivot/languages","stargazers_url":"https://api.github.com/repos/KristaANelson/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/KristaANelson/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/KristaANelson/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/KristaANelson/the_pivot/subscription","commits_url":"https://api.github.com/repos/KristaANelson/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/KristaANelson/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/KristaANelson/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/KristaANelson/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/KristaANelson/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KristaANelson/the_pivot/merges","archive_url":"https://api.github.com/repos/KristaANelson/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KristaANelson/the_pivot/downloads","issues_url":"https://api.github.com/repos/KristaANelson/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/KristaANelson/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/KristaANelson/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/KristaANelson/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KristaANelson/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/KristaANelson/the_pivot/releases{/id}","created_at":"2015-02-09T21:19:41Z","updated_at":"2015-02-24T22:23:21Z","pushed_at":"2015-02-24T23:05:23Z","git_url":"git://github.com/KristaANelson/the_pivot.git","ssh_url":"git@github.com:KristaANelson/the_pivot.git","clone_url":"https://github.com/KristaANelson/the_pivot.git","svn_url":"https://github.com/KristaANelson/the_pivot","homepage":null,"size":38141,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":25,"forks":3,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165"},"html":{"href":"https://github.com/KristaANelson/the_pivot/pull/165"},"issue":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/issues/165"},"comments":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/KristaANelson/the_pivot/statuses/7227a29f25182929ec6fd74282aebc11f88e572e"}}}}