GitHub PullRequestReviewCommentEvent at 2014-09-09 21:40:05
Repository: GradePending2.0
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/comments/17330106","id":17330106,"diff_hunk":"@@ -68,18 +68,23 @@\n \n # ADD Coordinates to DB:\n \n-# filename = File.open(File.join(Rails.root, 'db', 'lat_long.csv'))\n-# filename.each do |row|\n-# \tp row.split[1]\n-# \tp rest = Restaurant.find_by(phone: row.split[1])\n-\n-# \tif rest.phone == nil\n-# \t\tputs \"*\"*100\n-# \telse\n-# \t\tp rest.id\n-# \t\trest.update(latitude: row.split[3], longitude: row.split[5])\n-# \tend\n-# end\n+filename = File.open(File.join(Rails.root, 'db', 'coords.csv'))\n+filename.each do |row|\n+\tp row.split[1]\n+\tp rest = Restaurant.find_by(phone: row.split[1])\n+\tif rest\n+\t\trest.update(latitude: row.split[3], longitude: row.split[5])\n+\t\trest.save\n+\telse\n+\t\tnext\n+\tend\n+\t# if rest.phone == nil","path":"db/seeds.rb","position":92,"original_position":92,"commit_id":"ff2d1ee6cde2b452d4f38c7b5e923fb024f42173","original_commit_id":"ff2d1ee6cde2b452d4f38c7b5e923fb024f42173","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=2","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","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":"Tab detected.","created_at":"2014-09-09T21:40:05Z","updated_at":"2014-09-09T21:40:05Z","html_url":"https://github.com/mendoncakr/GradePending2.0/pull/33#discussion_r17330106","pull_request_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/comments/17330106"},"html":{"href":"https://github.com/mendoncakr/GradePending2.0/pull/33#discussion_r17330106"},"pull_request":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33","id":20985576,"html_url":"https://github.com/mendoncakr/GradePending2.0/pull/33","diff_url":"https://github.com/mendoncakr/GradePending2.0/pull/33.diff","patch_url":"https://github.com/mendoncakr/GradePending2.0/pull/33.patch","issue_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/33","number":33,"state":"open","locked":false,"title":"3line","user":{"login":"mendoncakr","id":6697743,"avatar_url":"https://avatars.githubusercontent.com/u/6697743?v=2","gravatar_id":"953dc74db5ad10dbe04c02a0fbc96b56","url":"https://api.github.com/users/mendoncakr","html_url":"https://github.com/mendoncakr","followers_url":"https://api.github.com/users/mendoncakr/followers","following_url":"https://api.github.com/users/mendoncakr/following{/other_user}","gists_url":"https://api.github.com/users/mendoncakr/gists{/gist_id}","starred_url":"https://api.github.com/users/mendoncakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendoncakr/subscriptions","organizations_url":"https://api.github.com/users/mendoncakr/orgs","repos_url":"https://api.github.com/users/mendoncakr/repos","events_url":"https://api.github.com/users/mendoncakr/events{/privacy}","received_events_url":"https://api.github.com/users/mendoncakr/received_events","type":"User","site_admin":false},"body":"dat 3 line nav","created_at":"2014-09-09T21:40:00Z","updated_at":"2014-09-09T21:40:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab72c7a3e996507da0110c800974bd4fdaf9b17a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33/commits","review_comments_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33/comments","review_comment_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/33/comments","statuses_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/statuses/ff2d1ee6cde2b452d4f38c7b5e923fb024f42173","head":{"label":"mendoncakr:3line","ref":"3line","sha":"ff2d1ee6cde2b452d4f38c7b5e923fb024f42173","user":{"login":"mendoncakr","id":6697743,"avatar_url":"https://avatars.githubusercontent.com/u/6697743?v=2","gravatar_id":"953dc74db5ad10dbe04c02a0fbc96b56","url":"https://api.github.com/users/mendoncakr","html_url":"https://github.com/mendoncakr","followers_url":"https://api.github.com/users/mendoncakr/followers","following_url":"https://api.github.com/users/mendoncakr/following{/other_user}","gists_url":"https://api.github.com/users/mendoncakr/gists{/gist_id}","starred_url":"https://api.github.com/users/mendoncakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendoncakr/subscriptions","organizations_url":"https://api.github.com/users/mendoncakr/orgs","repos_url":"https://api.github.com/users/mendoncakr/repos","events_url":"https://api.github.com/users/mendoncakr/events{/privacy}","received_events_url":"https://api.github.com/users/mendoncakr/received_events","type":"User","site_admin":false},"repo":{"id":22793537,"name":"GradePending2.0","full_name":"mendoncakr/GradePending2.0","owner":{"login":"mendoncakr","id":6697743,"avatar_url":"https://avatars.githubusercontent.com/u/6697743?v=2","gravatar_id":"953dc74db5ad10dbe04c02a0fbc96b56","url":"https://api.github.com/users/mendoncakr","html_url":"https://github.com/mendoncakr","followers_url":"https://api.github.com/users/mendoncakr/followers","following_url":"https://api.github.com/users/mendoncakr/following{/other_user}","gists_url":"https://api.github.com/users/mendoncakr/gists{/gist_id}","starred_url":"https://api.github.com/users/mendoncakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendoncakr/subscriptions","organizations_url":"https://api.github.com/users/mendoncakr/orgs","repos_url":"https://api.github.com/users/mendoncakr/repos","events_url":"https://api.github.com/users/mendoncakr/events{/privacy}","received_events_url":"https://api.github.com/users/mendoncakr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mendoncakr/GradePending2.0","description":"","fork":false,"url":"https://api.github.com/repos/mendoncakr/GradePending2.0","forks_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/forks","keys_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/teams","hooks_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/hooks","issue_events_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/events{/number}","events_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/events","assignees_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/assignees{/user}","branches_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/branches{/branch}","tags_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/tags","blobs_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/refs{/sha}","trees_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/statuses/{sha}","languages_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/languages","stargazers_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/stargazers","contributors_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/contributors","subscribers_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/subscribers","subscription_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/subscription","commits_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/commits{/sha}","git_commits_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/commits{/sha}","comments_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/comments{/number}","issue_comment_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/comments/{number}","contents_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/contents/{+path}","compare_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/merges","archive_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/downloads","issues_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues{/number}","pulls_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls{/number}","milestones_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/milestones{/number}","notifications_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/labels{/name}","releases_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/releases{/id}","created_at":"2014-08-09T19:32:41Z","updated_at":"2014-09-05T21:21:28Z","pushed_at":"2014-09-09T21:39:47Z","git_url":"git://github.com/mendoncakr/GradePending2.0.git","ssh_url":"git@github.com:mendoncakr/GradePending2.0.git","clone_url":"https://github.com/mendoncakr/GradePending2.0.git","svn_url":"https://github.com/mendoncakr/GradePending2.0","homepage":null,"size":15773,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mendoncakr:master","ref":"master","sha":"abed416915f4db77795ada2ad303c1db5983cfc7","user":{"login":"mendoncakr","id":6697743,"avatar_url":"https://avatars.githubusercontent.com/u/6697743?v=2","gravatar_id":"953dc74db5ad10dbe04c02a0fbc96b56","url":"https://api.github.com/users/mendoncakr","html_url":"https://github.com/mendoncakr","followers_url":"https://api.github.com/users/mendoncakr/followers","following_url":"https://api.github.com/users/mendoncakr/following{/other_user}","gists_url":"https://api.github.com/users/mendoncakr/gists{/gist_id}","starred_url":"https://api.github.com/users/mendoncakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendoncakr/subscriptions","organizations_url":"https://api.github.com/users/mendoncakr/orgs","repos_url":"https://api.github.com/users/mendoncakr/repos","events_url":"https://api.github.com/users/mendoncakr/events{/privacy}","received_events_url":"https://api.github.com/users/mendoncakr/received_events","type":"User","site_admin":false},"repo":{"id":22793537,"name":"GradePending2.0","full_name":"mendoncakr/GradePending2.0","owner":{"login":"mendoncakr","id":6697743,"avatar_url":"https://avatars.githubusercontent.com/u/6697743?v=2","gravatar_id":"953dc74db5ad10dbe04c02a0fbc96b56","url":"https://api.github.com/users/mendoncakr","html_url":"https://github.com/mendoncakr","followers_url":"https://api.github.com/users/mendoncakr/followers","following_url":"https://api.github.com/users/mendoncakr/following{/other_user}","gists_url":"https://api.github.com/users/mendoncakr/gists{/gist_id}","starred_url":"https://api.github.com/users/mendoncakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendoncakr/subscriptions","organizations_url":"https://api.github.com/users/mendoncakr/orgs","repos_url":"https://api.github.com/users/mendoncakr/repos","events_url":"https://api.github.com/users/mendoncakr/events{/privacy}","received_events_url":"https://api.github.com/users/mendoncakr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mendoncakr/GradePending2.0","description":"","fork":false,"url":"https://api.github.com/repos/mendoncakr/GradePending2.0","forks_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/forks","keys_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/teams","hooks_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/hooks","issue_events_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/events{/number}","events_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/events","assignees_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/assignees{/user}","branches_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/branches{/branch}","tags_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/tags","blobs_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/refs{/sha}","trees_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/statuses/{sha}","languages_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/languages","stargazers_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/stargazers","contributors_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/contributors","subscribers_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/subscribers","subscription_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/subscription","commits_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/commits{/sha}","git_commits_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/git/commits{/sha}","comments_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/comments{/number}","issue_comment_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/comments/{number}","contents_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/contents/{+path}","compare_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/merges","archive_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/downloads","issues_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues{/number}","pulls_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls{/number}","milestones_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/milestones{/number}","notifications_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/labels{/name}","releases_url":"https://api.github.com/repos/mendoncakr/GradePending2.0/releases{/id}","created_at":"2014-08-09T19:32:41Z","updated_at":"2014-09-05T21:21:28Z","pushed_at":"2014-09-09T21:39:47Z","git_url":"git://github.com/mendoncakr/GradePending2.0.git","ssh_url":"git@github.com:mendoncakr/GradePending2.0.git","clone_url":"https://github.com/mendoncakr/GradePending2.0.git","svn_url":"https://github.com/mendoncakr/GradePending2.0","homepage":null,"size":15773,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33"},"html":{"href":"https://github.com/mendoncakr/GradePending2.0/pull/33"},"issue":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/33"},"comments":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/mendoncakr/GradePending2.0/statuses/ff2d1ee6cde2b452d4f38c7b5e923fb024f42173"}}}}