{"action":"created","comment":{"url":"https://api.github.com/repos/witaka/quizzes/pulls/comments/200230644","pull_request_review_id":134502165,"id":200230644,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDIzMDY0NA==","diff_hunk":"@@ -0,0 +1,22 @@\n+class V1::BidsController < ApplicationController\n+  before_action :authenticate_user!\n+\n+  def create\n+    \n+    @bid = Bid.create(bid_params)\n+    @auction = Auction.find(params[:auction_id])\n+    @bid.auction = @auction\n+    @bid.user_id = current_user.id","path":"Quiz 3/myauction/app/controllers/v1/bids_controller.rb","position":9,"original_position":9,"commit_id":"34a17d7c91bf66076ac3b3fc6e08c231b0f09f61","original_commit_id":"34a17d7c91bf66076ac3b3fc6e08c231b0f09f61","user":{"login":"tylersuzukinelson","id":5521117,"node_id":"MDQ6VXNlcjU1MjExMTc=","avatar_url":"https://avatars0.githubusercontent.com/u/5521117?v=4","gravatar_id":"","url":"https://api.github.com/users/tylersuzukinelson","html_url":"https://github.com/tylersuzukinelson","followers_url":"https://api.github.com/users/tylersuzukinelson/followers","following_url":"https://api.github.com/users/tylersuzukinelson/following{/other_user}","gists_url":"https://api.github.com/users/tylersuzukinelson/gists{/gist_id}","starred_url":"https://api.github.com/users/tylersuzukinelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylersuzukinelson/subscriptions","organizations_url":"https://api.github.com/users/tylersuzukinelson/orgs","repos_url":"https://api.github.com/users/tylersuzukinelson/repos","events_url":"https://api.github.com/users/tylersuzukinelson/events{/privacy}","received_events_url":"https://api.github.com/users/tylersuzukinelson/received_events","type":"User","site_admin":false},"body":"Alternatively:\r\n```\r\n@bid.user = current_user\r\n```","created_at":"2018-07-05T04:26:31Z","updated_at":"2018-07-05T04:55:21Z","html_url":"https://github.com/witaka/quizzes/pull/3#discussion_r200230644","pull_request_url":"https://api.github.com/repos/witaka/quizzes/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/witaka/quizzes/pulls/comments/200230644"},"html":{"href":"https://github.com/witaka/quizzes/pull/3#discussion_r200230644"},"pull_request":{"href":"https://api.github.com/repos/witaka/quizzes/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/witaka/quizzes/pulls/3","id":197283285,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MjgzMjg1","html_url":"https://github.com/witaka/quizzes/pull/3","diff_url":"https://github.com/witaka/quizzes/pull/3.diff","patch_url":"https://github.com/witaka/quizzes/pull/3.patch","issue_url":"https://api.github.com/repos/witaka/quizzes/issues/3","number":3,"state":"open","locked":false,"title":"Quiz 3","user":{"login":"witaka","id":4679681,"node_id":"MDQ6VXNlcjQ2Nzk2ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/4679681?v=4","gravatar_id":"","url":"https://api.github.com/users/witaka","html_url":"https://github.com/witaka","followers_url":"https://api.github.com/users/witaka/followers","following_url":"https://api.github.com/users/witaka/following{/other_user}","gists_url":"https://api.github.com/users/witaka/gists{/gist_id}","starred_url":"https://api.github.com/users/witaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witaka/subscriptions","organizations_url":"https://api.github.com/users/witaka/orgs","repos_url":"https://api.github.com/users/witaka/repos","events_url":"https://api.github.com/users/witaka/events{/privacy}","received_events_url":"https://api.github.com/users/witaka/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-26T02:15:23Z","updated_at":"2018-07-05T04:55:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1997aeeabc2d7ab745c57ff8b6f32da0b69f09e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/witaka/quizzes/pulls/3/commits","review_comments_url":"https://api.github.com/repos/witaka/quizzes/pulls/3/comments","review_comment_url":"https://api.github.com/repos/witaka/quizzes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/witaka/quizzes/issues/3/comments","statuses_url":"https://api.github.com/repos/witaka/quizzes/statuses/34a17d7c91bf66076ac3b3fc6e08c231b0f09f61","head":{"label":"witaka:quiz_3","ref":"quiz_3","sha":"34a17d7c91bf66076ac3b3fc6e08c231b0f09f61","user":{"login":"witaka","id":4679681,"node_id":"MDQ6VXNlcjQ2Nzk2ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/4679681?v=4","gravatar_id":"","url":"https://api.github.com/users/witaka","html_url":"https://github.com/witaka","followers_url":"https://api.github.com/users/witaka/followers","following_url":"https://api.github.com/users/witaka/following{/other_user}","gists_url":"https://api.github.com/users/witaka/gists{/gist_id}","starred_url":"https://api.github.com/users/witaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witaka/subscriptions","organizations_url":"https://api.github.com/users/witaka/orgs","repos_url":"https://api.github.com/users/witaka/repos","events_url":"https://api.github.com/users/witaka/events{/privacy}","received_events_url":"https://api.github.com/users/witaka/received_events","type":"User","site_admin":false},"repo":{"id":132535829,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1MzU4Mjk=","name":"quizzes","full_name":"witaka/quizzes","owner":{"login":"witaka","id":4679681,"node_id":"MDQ6VXNlcjQ2Nzk2ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/4679681?v=4","gravatar_id":"","url":"https://api.github.com/users/witaka","html_url":"https://github.com/witaka","followers_url":"https://api.github.com/users/witaka/followers","following_url":"https://api.github.com/users/witaka/following{/other_user}","gists_url":"https://api.github.com/users/witaka/gists{/gist_id}","starred_url":"https://api.github.com/users/witaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witaka/subscriptions","organizations_url":"https://api.github.com/users/witaka/orgs","repos_url":"https://api.github.com/users/witaka/repos","events_url":"https://api.github.com/users/witaka/events{/privacy}","received_events_url":"https://api.github.com/users/witaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/witaka/quizzes","description":"Codecore quizzes ","fork":false,"url":"https://api.github.com/repos/witaka/quizzes","forks_url":"https://api.github.com/repos/witaka/quizzes/forks","keys_url":"https://api.github.com/repos/witaka/quizzes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/witaka/quizzes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/witaka/quizzes/teams","hooks_url":"https://api.github.com/repos/witaka/quizzes/hooks","issue_events_url":"https://api.github.com/repos/witaka/quizzes/issues/events{/number}","events_url":"https://api.github.com/repos/witaka/quizzes/events","assignees_url":"https://api.github.com/repos/witaka/quizzes/assignees{/user}","branches_url":"https://api.github.com/repos/witaka/quizzes/branches{/branch}","tags_url":"https://api.github.com/repos/witaka/quizzes/tags","blobs_url":"https://api.github.com/repos/witaka/quizzes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/witaka/quizzes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/witaka/quizzes/git/refs{/sha}","trees_url":"https://api.github.com/repos/witaka/quizzes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/witaka/quizzes/statuses/{sha}","languages_url":"https://api.github.com/repos/witaka/quizzes/languages","stargazers_url":"https://api.github.com/repos/witaka/quizzes/stargazers","contributors_url":"https://api.github.com/repos/witaka/quizzes/contributors","subscribers_url":"https://api.github.com/repos/witaka/quizzes/subscribers","subscription_url":"https://api.github.com/repos/witaka/quizzes/subscription","commits_url":"https://api.github.com/repos/witaka/quizzes/commits{/sha}","git_commits_url":"https://api.github.com/repos/witaka/quizzes/git/commits{/sha}","comments_url":"https://api.github.com/repos/witaka/quizzes/comments{/number}","issue_comment_url":"https://api.github.com/repos/witaka/quizzes/issues/comments{/number}","contents_url":"https://api.github.com/repos/witaka/quizzes/contents/{+path}","compare_url":"https://api.github.com/repos/witaka/quizzes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/witaka/quizzes/merges","archive_url":"https://api.github.com/repos/witaka/quizzes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/witaka/quizzes/downloads","issues_url":"https://api.github.com/repos/witaka/quizzes/issues{/number}","pulls_url":"https://api.github.com/repos/witaka/quizzes/pulls{/number}","milestones_url":"https://api.github.com/repos/witaka/quizzes/milestones{/number}","notifications_url":"https://api.github.com/repos/witaka/quizzes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/witaka/quizzes/labels{/name}","releases_url":"https://api.github.com/repos/witaka/quizzes/releases{/id}","deployments_url":"https://api.github.com/repos/witaka/quizzes/deployments","created_at":"2018-05-08T01:22:12Z","updated_at":"2018-06-26T02:18:46Z","pushed_at":"2018-06-26T02:25:40Z","git_url":"git://github.com/witaka/quizzes.git","ssh_url":"git@github.com:witaka/quizzes.git","clone_url":"https://github.com/witaka/quizzes.git","svn_url":"https://github.com/witaka/quizzes","homepage":null,"size":20463,"stargazers_count":0,"watchers_count":0,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"witaka:master","ref":"master","sha":"6c9866367cd9f58457f5c9b66e239aeb2cb165d6","user":{"login":"witaka","id":4679681,"node_id":"MDQ6VXNlcjQ2Nzk2ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/4679681?v=4","gravatar_id":"","url":"https://api.github.com/users/witaka","html_url":"https://github.com/witaka","followers_url":"https://api.github.com/users/witaka/followers","following_url":"https://api.github.com/users/witaka/following{/other_user}","gists_url":"https://api.github.com/users/witaka/gists{/gist_id}","starred_url":"https://api.github.com/users/witaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witaka/subscriptions","organizations_url":"https://api.github.com/users/witaka/orgs","repos_url":"https://api.github.com/users/witaka/repos","events_url":"https://api.github.com/users/witaka/events{/privacy}","received_events_url":"https://api.github.com/users/witaka/received_events","type":"User","site_admin":false},"repo":{"id":132535829,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI1MzU4Mjk=","name":"quizzes","full_name":"witaka/quizzes","owner":{"login":"witaka","id":4679681,"node_id":"MDQ6VXNlcjQ2Nzk2ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/4679681?v=4","gravatar_id":"","url":"https://api.github.com/users/witaka","html_url":"https://github.com/witaka","followers_url":"https://api.github.com/users/witaka/followers","following_url":"https://api.github.com/users/witaka/following{/other_user}","gists_url":"https://api.github.com/users/witaka/gists{/gist_id}","starred_url":"https://api.github.com/users/witaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witaka/subscriptions","organizations_url":"https://api.github.com/users/witaka/orgs","repos_url":"https://api.github.com/users/witaka/repos","events_url":"https://api.github.com/users/witaka/events{/privacy}","received_events_url":"https://api.github.com/users/witaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/witaka/quizzes","description":"Codecore quizzes ","fork":false,"url":"https://api.github.com/repos/witaka/quizzes","forks_url":"https://api.github.com/repos/witaka/quizzes/forks","keys_url":"https://api.github.com/repos/witaka/quizzes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/witaka/quizzes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/witaka/quizzes/teams","hooks_url":"https://api.github.com/repos/witaka/quizzes/hooks","issue_events_url":"https://api.github.com/repos/witaka/quizzes/issues/events{/number}","events_url":"https://api.github.com/repos/witaka/quizzes/events","assignees_url":"https://api.github.com/repos/witaka/quizzes/assignees{/user}","branches_url":"https://api.github.com/repos/witaka/quizzes/branches{/branch}","tags_url":"https://api.github.com/repos/witaka/quizzes/tags","blobs_url":"https://api.github.com/repos/witaka/quizzes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/witaka/quizzes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/witaka/quizzes/git/refs{/sha}","trees_url":"https://api.github.com/repos/witaka/quizzes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/witaka/quizzes/statuses/{sha}","languages_url":"https://api.github.com/repos/witaka/quizzes/languages","stargazers_url":"https://api.github.com/repos/witaka/quizzes/stargazers","contributors_url":"https://api.github.com/repos/witaka/quizzes/contributors","subscribers_url":"https://api.github.com/repos/witaka/quizzes/subscribers","subscription_url":"https://api.github.com/repos/witaka/quizzes/subscription","commits_url":"https://api.github.com/repos/witaka/quizzes/commits{/sha}","git_commits_url":"https://api.github.com/repos/witaka/quizzes/git/commits{/sha}","comments_url":"https://api.github.com/repos/witaka/quizzes/comments{/number}","issue_comment_url":"https://api.github.com/repos/witaka/quizzes/issues/comments{/number}","contents_url":"https://api.github.com/repos/witaka/quizzes/contents/{+path}","compare_url":"https://api.github.com/repos/witaka/quizzes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/witaka/quizzes/merges","archive_url":"https://api.github.com/repos/witaka/quizzes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/witaka/quizzes/downloads","issues_url":"https://api.github.com/repos/witaka/quizzes/issues{/number}","pulls_url":"https://api.github.com/repos/witaka/quizzes/pulls{/number}","milestones_url":"https://api.github.com/repos/witaka/quizzes/milestones{/number}","notifications_url":"https://api.github.com/repos/witaka/quizzes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/witaka/quizzes/labels{/name}","releases_url":"https://api.github.com/repos/witaka/quizzes/releases{/id}","deployments_url":"https://api.github.com/repos/witaka/quizzes/deployments","created_at":"2018-05-08T01:22:12Z","updated_at":"2018-06-26T02:18:46Z","pushed_at":"2018-06-26T02:25:40Z","git_url":"git://github.com/witaka/quizzes.git","ssh_url":"git@github.com:witaka/quizzes.git","clone_url":"https://github.com/witaka/quizzes.git","svn_url":"https://github.com/witaka/quizzes","homepage":null,"size":20463,"stargazers_count":0,"watchers_count":0,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/witaka/quizzes/pulls/3"},"html":{"href":"https://github.com/witaka/quizzes/pull/3"},"issue":{"href":"https://api.github.com/repos/witaka/quizzes/issues/3"},"comments":{"href":"https://api.github.com/repos/witaka/quizzes/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/witaka/quizzes/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/witaka/quizzes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/witaka/quizzes/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/witaka/quizzes/statuses/34a17d7c91bf66076ac3b3fc6e08c231b0f09f61"}},"author_association":"OWNER"}}
{"actor":{"display_login":"tylersuzukinelson"}}