{"action":"created","comment":{"url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/comments/64899639","id":64899639,"diff_hunk":"@@ -1,12 +1,14 @@\n class Purchase < ActiveRecord::Base\n-  validates :email, :item_id, presence: true\n+  validates:item_id, :purchaser_id, presence: true","path":"app/models/purchase.rb","position":3,"original_position":3,"commit_id":"11454f937d75a23f00ead8c05fa2ad8dcf70429c","original_commit_id":"11454f937d75a23f00ead8c05fa2ad8dcf70429c","user":{"login":"alexcodreanu86","id":5808822,"avatar_url":"https://avatars.githubusercontent.com/u/5808822?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcodreanu86","html_url":"https://github.com/alexcodreanu86","followers_url":"https://api.github.com/users/alexcodreanu86/followers","following_url":"https://api.github.com/users/alexcodreanu86/following{/other_user}","gists_url":"https://api.github.com/users/alexcodreanu86/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcodreanu86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcodreanu86/subscriptions","organizations_url":"https://api.github.com/users/alexcodreanu86/orgs","repos_url":"https://api.github.com/users/alexcodreanu86/repos","events_url":"https://api.github.com/users/alexcodreanu86/events{/privacy}","received_events_url":"https://api.github.com/users/alexcodreanu86/received_events","type":"User","site_admin":false},"body":"There should either be a parenthesis or a white space between `validates:item_id`","created_at":"2016-05-27T12:53:20Z","updated_at":"2016-05-27T12:53:20Z","html_url":"https://github.com/andarcabrera/ebay_clone/pull/4#discussion_r64899639","pull_request_url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/comments/64899639"},"html":{"href":"https://github.com/andarcabrera/ebay_clone/pull/4#discussion_r64899639"},"pull_request":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4","id":71631838,"html_url":"https://github.com/andarcabrera/ebay_clone/pull/4","diff_url":"https://github.com/andarcabrera/ebay_clone/pull/4.diff","patch_url":"https://github.com/andarcabrera/ebay_clone/pull/4.patch","issue_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/4","number":4,"state":"open","locked":false,"title":"Users","user":{"login":"andarcabrera","id":11791558,"avatar_url":"https://avatars.githubusercontent.com/u/11791558?v=3","gravatar_id":"","url":"https://api.github.com/users/andarcabrera","html_url":"https://github.com/andarcabrera","followers_url":"https://api.github.com/users/andarcabrera/followers","following_url":"https://api.github.com/users/andarcabrera/following{/other_user}","gists_url":"https://api.github.com/users/andarcabrera/gists{/gist_id}","starred_url":"https://api.github.com/users/andarcabrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andarcabrera/subscriptions","organizations_url":"https://api.github.com/users/andarcabrera/orgs","repos_url":"https://api.github.com/users/andarcabrera/repos","events_url":"https://api.github.com/users/andarcabrera/events{/privacy}","received_events_url":"https://api.github.com/users/andarcabrera/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nHere is the pr for the following story:\r\n- As a new user, I can create an account with a username and password\r\n- Users should have username, email, password\r\n- User email should be unique\r\n- As an existing user, I can sign in with email address and password\r\n- Items belong to a user\r\n- A user has many listings\r\n- A user has many purchases\r\n- As an existing user I can log out\r\n\r\nIMPORTANT - we are working with a live database. Please see instructions below:\r\n\r\n1. rake db:migrate VERSION=20160525052400 (this will run the migrations up to and including 20160525052400)\r\n2. rake update_data (this rake task will update the existing records in the db with the new fields)\r\n3. rake db:migrate (this will run the rest of the migrations removing the unnecessary fields and adding constraints)\r\n\r\nNote - the master is deployed to Heroku(https://powerful-spire-18110.herokuapp.com/) and running well with the exception of rendering the seed images, which we will try to look into.\r\n\r\nTeam Powerful Spire out.\r\nThanks,\r\nAJ","created_at":"2016-05-26T22:01:12Z","updated_at":"2016-05-27T12:53:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"efcd6327563839bebee561ecb66270d6a47b856f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4/commits","review_comments_url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4/comments","review_comment_url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/4/comments","statuses_url":"https://api.github.com/repos/andarcabrera/ebay_clone/statuses/11454f937d75a23f00ead8c05fa2ad8dcf70429c","head":{"label":"andarcabrera:users","ref":"users","sha":"11454f937d75a23f00ead8c05fa2ad8dcf70429c","user":{"login":"andarcabrera","id":11791558,"avatar_url":"https://avatars.githubusercontent.com/u/11791558?v=3","gravatar_id":"","url":"https://api.github.com/users/andarcabrera","html_url":"https://github.com/andarcabrera","followers_url":"https://api.github.com/users/andarcabrera/followers","following_url":"https://api.github.com/users/andarcabrera/following{/other_user}","gists_url":"https://api.github.com/users/andarcabrera/gists{/gist_id}","starred_url":"https://api.github.com/users/andarcabrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andarcabrera/subscriptions","organizations_url":"https://api.github.com/users/andarcabrera/orgs","repos_url":"https://api.github.com/users/andarcabrera/repos","events_url":"https://api.github.com/users/andarcabrera/events{/privacy}","received_events_url":"https://api.github.com/users/andarcabrera/received_events","type":"User","site_admin":false},"repo":{"id":58469468,"name":"ebay_clone","full_name":"andarcabrera/ebay_clone","owner":{"login":"andarcabrera","id":11791558,"avatar_url":"https://avatars.githubusercontent.com/u/11791558?v=3","gravatar_id":"","url":"https://api.github.com/users/andarcabrera","html_url":"https://github.com/andarcabrera","followers_url":"https://api.github.com/users/andarcabrera/followers","following_url":"https://api.github.com/users/andarcabrera/following{/other_user}","gists_url":"https://api.github.com/users/andarcabrera/gists{/gist_id}","starred_url":"https://api.github.com/users/andarcabrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andarcabrera/subscriptions","organizations_url":"https://api.github.com/users/andarcabrera/orgs","repos_url":"https://api.github.com/users/andarcabrera/repos","events_url":"https://api.github.com/users/andarcabrera/events{/privacy}","received_events_url":"https://api.github.com/users/andarcabrera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andarcabrera/ebay_clone","description":"A Rails Ebay clone project","fork":false,"url":"https://api.github.com/repos/andarcabrera/ebay_clone","forks_url":"https://api.github.com/repos/andarcabrera/ebay_clone/forks","keys_url":"https://api.github.com/repos/andarcabrera/ebay_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andarcabrera/ebay_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andarcabrera/ebay_clone/teams","hooks_url":"https://api.github.com/repos/andarcabrera/ebay_clone/hooks","issue_events_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/events{/number}","events_url":"https://api.github.com/repos/andarcabrera/ebay_clone/events","assignees_url":"https://api.github.com/repos/andarcabrera/ebay_clone/assignees{/user}","branches_url":"https://api.github.com/repos/andarcabrera/ebay_clone/branches{/branch}","tags_url":"https://api.github.com/repos/andarcabrera/ebay_clone/tags","blobs_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andarcabrera/ebay_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/andarcabrera/ebay_clone/languages","stargazers_url":"https://api.github.com/repos/andarcabrera/ebay_clone/stargazers","contributors_url":"https://api.github.com/repos/andarcabrera/ebay_clone/contributors","subscribers_url":"https://api.github.com/repos/andarcabrera/ebay_clone/subscribers","subscription_url":"https://api.github.com/repos/andarcabrera/ebay_clone/subscription","commits_url":"https://api.github.com/repos/andarcabrera/ebay_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/andarcabrera/ebay_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/andarcabrera/ebay_clone/contents/{+path}","compare_url":"https://api.github.com/repos/andarcabrera/ebay_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andarcabrera/ebay_clone/merges","archive_url":"https://api.github.com/repos/andarcabrera/ebay_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andarcabrera/ebay_clone/downloads","issues_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues{/number}","pulls_url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/andarcabrera/ebay_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/andarcabrera/ebay_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andarcabrera/ebay_clone/labels{/name}","releases_url":"https://api.github.com/repos/andarcabrera/ebay_clone/releases{/id}","deployments_url":"https://api.github.com/repos/andarcabrera/ebay_clone/deployments","created_at":"2016-05-10T14:44:00Z","updated_at":"2016-05-10T14:47:08Z","pushed_at":"2016-05-26T22:01:12Z","git_url":"git://github.com/andarcabrera/ebay_clone.git","ssh_url":"git@github.com:andarcabrera/ebay_clone.git","clone_url":"https://github.com/andarcabrera/ebay_clone.git","svn_url":"https://github.com/andarcabrera/ebay_clone","homepage":null,"size":1725,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"andarcabrera:master","ref":"master","sha":"fbb1d91c24a00ee21fd8ad5d946f3ccb571c9bb5","user":{"login":"andarcabrera","id":11791558,"avatar_url":"https://avatars.githubusercontent.com/u/11791558?v=3","gravatar_id":"","url":"https://api.github.com/users/andarcabrera","html_url":"https://github.com/andarcabrera","followers_url":"https://api.github.com/users/andarcabrera/followers","following_url":"https://api.github.com/users/andarcabrera/following{/other_user}","gists_url":"https://api.github.com/users/andarcabrera/gists{/gist_id}","starred_url":"https://api.github.com/users/andarcabrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andarcabrera/subscriptions","organizations_url":"https://api.github.com/users/andarcabrera/orgs","repos_url":"https://api.github.com/users/andarcabrera/repos","events_url":"https://api.github.com/users/andarcabrera/events{/privacy}","received_events_url":"https://api.github.com/users/andarcabrera/received_events","type":"User","site_admin":false},"repo":{"id":58469468,"name":"ebay_clone","full_name":"andarcabrera/ebay_clone","owner":{"login":"andarcabrera","id":11791558,"avatar_url":"https://avatars.githubusercontent.com/u/11791558?v=3","gravatar_id":"","url":"https://api.github.com/users/andarcabrera","html_url":"https://github.com/andarcabrera","followers_url":"https://api.github.com/users/andarcabrera/followers","following_url":"https://api.github.com/users/andarcabrera/following{/other_user}","gists_url":"https://api.github.com/users/andarcabrera/gists{/gist_id}","starred_url":"https://api.github.com/users/andarcabrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andarcabrera/subscriptions","organizations_url":"https://api.github.com/users/andarcabrera/orgs","repos_url":"https://api.github.com/users/andarcabrera/repos","events_url":"https://api.github.com/users/andarcabrera/events{/privacy}","received_events_url":"https://api.github.com/users/andarcabrera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andarcabrera/ebay_clone","description":"A Rails Ebay clone project","fork":false,"url":"https://api.github.com/repos/andarcabrera/ebay_clone","forks_url":"https://api.github.com/repos/andarcabrera/ebay_clone/forks","keys_url":"https://api.github.com/repos/andarcabrera/ebay_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andarcabrera/ebay_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andarcabrera/ebay_clone/teams","hooks_url":"https://api.github.com/repos/andarcabrera/ebay_clone/hooks","issue_events_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/events{/number}","events_url":"https://api.github.com/repos/andarcabrera/ebay_clone/events","assignees_url":"https://api.github.com/repos/andarcabrera/ebay_clone/assignees{/user}","branches_url":"https://api.github.com/repos/andarcabrera/ebay_clone/branches{/branch}","tags_url":"https://api.github.com/repos/andarcabrera/ebay_clone/tags","blobs_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andarcabrera/ebay_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/andarcabrera/ebay_clone/languages","stargazers_url":"https://api.github.com/repos/andarcabrera/ebay_clone/stargazers","contributors_url":"https://api.github.com/repos/andarcabrera/ebay_clone/contributors","subscribers_url":"https://api.github.com/repos/andarcabrera/ebay_clone/subscribers","subscription_url":"https://api.github.com/repos/andarcabrera/ebay_clone/subscription","commits_url":"https://api.github.com/repos/andarcabrera/ebay_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/andarcabrera/ebay_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/andarcabrera/ebay_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/andarcabrera/ebay_clone/contents/{+path}","compare_url":"https://api.github.com/repos/andarcabrera/ebay_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andarcabrera/ebay_clone/merges","archive_url":"https://api.github.com/repos/andarcabrera/ebay_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andarcabrera/ebay_clone/downloads","issues_url":"https://api.github.com/repos/andarcabrera/ebay_clone/issues{/number}","pulls_url":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/andarcabrera/ebay_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/andarcabrera/ebay_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andarcabrera/ebay_clone/labels{/name}","releases_url":"https://api.github.com/repos/andarcabrera/ebay_clone/releases{/id}","deployments_url":"https://api.github.com/repos/andarcabrera/ebay_clone/deployments","created_at":"2016-05-10T14:44:00Z","updated_at":"2016-05-10T14:47:08Z","pushed_at":"2016-05-26T22:01:12Z","git_url":"git://github.com/andarcabrera/ebay_clone.git","ssh_url":"git@github.com:andarcabrera/ebay_clone.git","clone_url":"https://github.com/andarcabrera/ebay_clone.git","svn_url":"https://github.com/andarcabrera/ebay_clone","homepage":null,"size":1725,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4"},"html":{"href":"https://github.com/andarcabrera/ebay_clone/pull/4"},"issue":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/4"},"comments":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/andarcabrera/ebay_clone/statuses/11454f937d75a23f00ead8c05fa2ad8dcf70429c"}}}}
{"actor":{"display_login":"alexcodreanu86"}}