{"action":"created","comment":{"url":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/comments/189332923","pull_request_review_id":121498159,"id":189332923,"diff_hunk":"@@ -1,2 +1,41 @@\n class UrlsController < ApplicationController\n+\n+\n+\tdef index\n+\t\t@urls= Url.all\n+\tend\n+\n+  def create\n+    @url = Url.new(url_params)\n+\n+    if !@url.save\n+     flash[:error] = \"Invalid url. Please Enter a valid url\"\n+    end\n+\n+    redirect_to urls_path\n+  end\n+\n+\tdef new\n+\t\t\t@url = UrlsControllerrl.new","path":"source/app/controllers/urls_controller.rb","position":19,"original_position":19,"commit_id":"8a05ccff73e7aa8af1520b2178204e868a1ed719","original_commit_id":"8a05ccff73e7aa8af1520b2178204e868a1ed719","user":{"login":"raghavraman","id":8149576,"avatar_url":"https://avatars0.githubusercontent.com/u/8149576?v=4","gravatar_id":"","url":"https://api.github.com/users/raghavraman","html_url":"https://github.com/raghavraman","followers_url":"https://api.github.com/users/raghavraman/followers","following_url":"https://api.github.com/users/raghavraman/following{/other_user}","gists_url":"https://api.github.com/users/raghavraman/gists{/gist_id}","starred_url":"https://api.github.com/users/raghavraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghavraman/subscriptions","organizations_url":"https://api.github.com/users/raghavraman/orgs","repos_url":"https://api.github.com/users/raghavraman/repos","events_url":"https://api.github.com/users/raghavraman/events{/privacy}","received_events_url":"https://api.github.com/users/raghavraman/received_events","type":"User","site_admin":false},"body":"Ohh. Sorry,\r\n1. I missed removing the new function\r\n2. I guess that missed type for URL.new\r\n\r\nWill change it sorry :P ","created_at":"2018-05-18T17:02:03Z","updated_at":"2018-05-18T17:02:04Z","html_url":"https://github.com/paircolumbus/BitlyClone/pull/41#discussion_r189332923","pull_request_url":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/comments/189332923"},"html":{"href":"https://github.com/paircolumbus/BitlyClone/pull/41#discussion_r189332923"},"pull_request":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41"}},"in_reply_to_id":189283574},"pull_request":{"url":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41","id":188850478,"html_url":"https://github.com/paircolumbus/BitlyClone/pull/41","diff_url":"https://github.com/paircolumbus/BitlyClone/pull/41.diff","patch_url":"https://github.com/paircolumbus/BitlyClone/pull/41.patch","issue_url":"https://api.github.com/repos/paircolumbus/BitlyClone/issues/41","number":41,"state":"open","locked":false,"title":"Raghav sol","user":{"login":"raghavraman","id":8149576,"avatar_url":"https://avatars0.githubusercontent.com/u/8149576?v=4","gravatar_id":"","url":"https://api.github.com/users/raghavraman","html_url":"https://github.com/raghavraman","followers_url":"https://api.github.com/users/raghavraman/followers","following_url":"https://api.github.com/users/raghavraman/following{/other_user}","gists_url":"https://api.github.com/users/raghavraman/gists{/gist_id}","starred_url":"https://api.github.com/users/raghavraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghavraman/subscriptions","organizations_url":"https://api.github.com/users/raghavraman/orgs","repos_url":"https://api.github.com/users/raghavraman/repos","events_url":"https://api.github.com/users/raghavraman/events{/privacy}","received_events_url":"https://api.github.com/users/raghavraman/received_events","type":"User","site_admin":false},"body":"@jaybobo  CoMpLeTeD ","created_at":"2018-05-17T20:20:43Z","updated_at":"2018-05-18T17:02:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12a729df050bb8c37f8f37d7eead5bf89b8c45f3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41/commits","review_comments_url":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41/comments","review_comment_url":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paircolumbus/BitlyClone/issues/41/comments","statuses_url":"https://api.github.com/repos/paircolumbus/BitlyClone/statuses/8a05ccff73e7aa8af1520b2178204e868a1ed719","head":{"label":"raghavraman:RaghavSOl","ref":"RaghavSOl","sha":"8a05ccff73e7aa8af1520b2178204e868a1ed719","user":{"login":"raghavraman","id":8149576,"avatar_url":"https://avatars0.githubusercontent.com/u/8149576?v=4","gravatar_id":"","url":"https://api.github.com/users/raghavraman","html_url":"https://github.com/raghavraman","followers_url":"https://api.github.com/users/raghavraman/followers","following_url":"https://api.github.com/users/raghavraman/following{/other_user}","gists_url":"https://api.github.com/users/raghavraman/gists{/gist_id}","starred_url":"https://api.github.com/users/raghavraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghavraman/subscriptions","organizations_url":"https://api.github.com/users/raghavraman/orgs","repos_url":"https://api.github.com/users/raghavraman/repos","events_url":"https://api.github.com/users/raghavraman/events{/privacy}","received_events_url":"https://api.github.com/users/raghavraman/received_events","type":"User","site_admin":false},"repo":{"id":133700939,"name":"BitlyClone","full_name":"raghavraman/BitlyClone","owner":{"login":"raghavraman","id":8149576,"avatar_url":"https://avatars0.githubusercontent.com/u/8149576?v=4","gravatar_id":"","url":"https://api.github.com/users/raghavraman","html_url":"https://github.com/raghavraman","followers_url":"https://api.github.com/users/raghavraman/followers","following_url":"https://api.github.com/users/raghavraman/following{/other_user}","gists_url":"https://api.github.com/users/raghavraman/gists{/gist_id}","starred_url":"https://api.github.com/users/raghavraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghavraman/subscriptions","organizations_url":"https://api.github.com/users/raghavraman/orgs","repos_url":"https://api.github.com/users/raghavraman/repos","events_url":"https://api.github.com/users/raghavraman/events{/privacy}","received_events_url":"https://api.github.com/users/raghavraman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raghavraman/BitlyClone","description":"A link shortener drill that exposes basic Rails functionality","fork":true,"url":"https://api.github.com/repos/raghavraman/BitlyClone","forks_url":"https://api.github.com/repos/raghavraman/BitlyClone/forks","keys_url":"https://api.github.com/repos/raghavraman/BitlyClone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raghavraman/BitlyClone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raghavraman/BitlyClone/teams","hooks_url":"https://api.github.com/repos/raghavraman/BitlyClone/hooks","issue_events_url":"https://api.github.com/repos/raghavraman/BitlyClone/issues/events{/number}","events_url":"https://api.github.com/repos/raghavraman/BitlyClone/events","assignees_url":"https://api.github.com/repos/raghavraman/BitlyClone/assignees{/user}","branches_url":"https://api.github.com/repos/raghavraman/BitlyClone/branches{/branch}","tags_url":"https://api.github.com/repos/raghavraman/BitlyClone/tags","blobs_url":"https://api.github.com/repos/raghavraman/BitlyClone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raghavraman/BitlyClone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raghavraman/BitlyClone/git/refs{/sha}","trees_url":"https://api.github.com/repos/raghavraman/BitlyClone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raghavraman/BitlyClone/statuses/{sha}","languages_url":"https://api.github.com/repos/raghavraman/BitlyClone/languages","stargazers_url":"https://api.github.com/repos/raghavraman/BitlyClone/stargazers","contributors_url":"https://api.github.com/repos/raghavraman/BitlyClone/contributors","subscribers_url":"https://api.github.com/repos/raghavraman/BitlyClone/subscribers","subscription_url":"https://api.github.com/repos/raghavraman/BitlyClone/subscription","commits_url":"https://api.github.com/repos/raghavraman/BitlyClone/commits{/sha}","git_commits_url":"https://api.github.com/repos/raghavraman/BitlyClone/git/commits{/sha}","comments_url":"https://api.github.com/repos/raghavraman/BitlyClone/comments{/number}","issue_comment_url":"https://api.github.com/repos/raghavraman/BitlyClone/issues/comments{/number}","contents_url":"https://api.github.com/repos/raghavraman/BitlyClone/contents/{+path}","compare_url":"https://api.github.com/repos/raghavraman/BitlyClone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raghavraman/BitlyClone/merges","archive_url":"https://api.github.com/repos/raghavraman/BitlyClone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raghavraman/BitlyClone/downloads","issues_url":"https://api.github.com/repos/raghavraman/BitlyClone/issues{/number}","pulls_url":"https://api.github.com/repos/raghavraman/BitlyClone/pulls{/number}","milestones_url":"https://api.github.com/repos/raghavraman/BitlyClone/milestones{/number}","notifications_url":"https://api.github.com/repos/raghavraman/BitlyClone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raghavraman/BitlyClone/labels{/name}","releases_url":"https://api.github.com/repos/raghavraman/BitlyClone/releases{/id}","deployments_url":"https://api.github.com/repos/raghavraman/BitlyClone/deployments","created_at":"2018-05-16T17:23:18Z","updated_at":"2018-05-17T18:37:09Z","pushed_at":"2018-05-17T20:19:53Z","git_url":"git://github.com/raghavraman/BitlyClone.git","ssh_url":"git@github.com:raghavraman/BitlyClone.git","clone_url":"https://github.com/raghavraman/BitlyClone.git","svn_url":"https://github.com/raghavraman/BitlyClone","homepage":"","size":157,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"paircolumbus:master","ref":"master","sha":"de37002aa6a5a81733bef49aecb25116c4c50edb","user":{"login":"paircolumbus","id":8568348,"avatar_url":"https://avatars3.githubusercontent.com/u/8568348?v=4","gravatar_id":"","url":"https://api.github.com/users/paircolumbus","html_url":"https://github.com/paircolumbus","followers_url":"https://api.github.com/users/paircolumbus/followers","following_url":"https://api.github.com/users/paircolumbus/following{/other_user}","gists_url":"https://api.github.com/users/paircolumbus/gists{/gist_id}","starred_url":"https://api.github.com/users/paircolumbus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paircolumbus/subscriptions","organizations_url":"https://api.github.com/users/paircolumbus/orgs","repos_url":"https://api.github.com/users/paircolumbus/repos","events_url":"https://api.github.com/users/paircolumbus/events{/privacy}","received_events_url":"https://api.github.com/users/paircolumbus/received_events","type":"Organization","site_admin":false},"repo":{"id":25083198,"name":"BitlyClone","full_name":"paircolumbus/BitlyClone","owner":{"login":"paircolumbus","id":8568348,"avatar_url":"https://avatars3.githubusercontent.com/u/8568348?v=4","gravatar_id":"","url":"https://api.github.com/users/paircolumbus","html_url":"https://github.com/paircolumbus","followers_url":"https://api.github.com/users/paircolumbus/followers","following_url":"https://api.github.com/users/paircolumbus/following{/other_user}","gists_url":"https://api.github.com/users/paircolumbus/gists{/gist_id}","starred_url":"https://api.github.com/users/paircolumbus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paircolumbus/subscriptions","organizations_url":"https://api.github.com/users/paircolumbus/orgs","repos_url":"https://api.github.com/users/paircolumbus/repos","events_url":"https://api.github.com/users/paircolumbus/events{/privacy}","received_events_url":"https://api.github.com/users/paircolumbus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paircolumbus/BitlyClone","description":"A link shortener drill that exposes basic Rails functionality","fork":false,"url":"https://api.github.com/repos/paircolumbus/BitlyClone","forks_url":"https://api.github.com/repos/paircolumbus/BitlyClone/forks","keys_url":"https://api.github.com/repos/paircolumbus/BitlyClone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paircolumbus/BitlyClone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paircolumbus/BitlyClone/teams","hooks_url":"https://api.github.com/repos/paircolumbus/BitlyClone/hooks","issue_events_url":"https://api.github.com/repos/paircolumbus/BitlyClone/issues/events{/number}","events_url":"https://api.github.com/repos/paircolumbus/BitlyClone/events","assignees_url":"https://api.github.com/repos/paircolumbus/BitlyClone/assignees{/user}","branches_url":"https://api.github.com/repos/paircolumbus/BitlyClone/branches{/branch}","tags_url":"https://api.github.com/repos/paircolumbus/BitlyClone/tags","blobs_url":"https://api.github.com/repos/paircolumbus/BitlyClone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paircolumbus/BitlyClone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paircolumbus/BitlyClone/git/refs{/sha}","trees_url":"https://api.github.com/repos/paircolumbus/BitlyClone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paircolumbus/BitlyClone/statuses/{sha}","languages_url":"https://api.github.com/repos/paircolumbus/BitlyClone/languages","stargazers_url":"https://api.github.com/repos/paircolumbus/BitlyClone/stargazers","contributors_url":"https://api.github.com/repos/paircolumbus/BitlyClone/contributors","subscribers_url":"https://api.github.com/repos/paircolumbus/BitlyClone/subscribers","subscription_url":"https://api.github.com/repos/paircolumbus/BitlyClone/subscription","commits_url":"https://api.github.com/repos/paircolumbus/BitlyClone/commits{/sha}","git_commits_url":"https://api.github.com/repos/paircolumbus/BitlyClone/git/commits{/sha}","comments_url":"https://api.github.com/repos/paircolumbus/BitlyClone/comments{/number}","issue_comment_url":"https://api.github.com/repos/paircolumbus/BitlyClone/issues/comments{/number}","contents_url":"https://api.github.com/repos/paircolumbus/BitlyClone/contents/{+path}","compare_url":"https://api.github.com/repos/paircolumbus/BitlyClone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paircolumbus/BitlyClone/merges","archive_url":"https://api.github.com/repos/paircolumbus/BitlyClone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paircolumbus/BitlyClone/downloads","issues_url":"https://api.github.com/repos/paircolumbus/BitlyClone/issues{/number}","pulls_url":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls{/number}","milestones_url":"https://api.github.com/repos/paircolumbus/BitlyClone/milestones{/number}","notifications_url":"https://api.github.com/repos/paircolumbus/BitlyClone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paircolumbus/BitlyClone/labels{/name}","releases_url":"https://api.github.com/repos/paircolumbus/BitlyClone/releases{/id}","deployments_url":"https://api.github.com/repos/paircolumbus/BitlyClone/deployments","created_at":"2014-10-11T15:04:36Z","updated_at":"2018-04-03T01:59:29Z","pushed_at":"2018-05-18T02:42:29Z","git_url":"git://github.com/paircolumbus/BitlyClone.git","ssh_url":"git@github.com:paircolumbus/BitlyClone.git","clone_url":"https://github.com/paircolumbus/BitlyClone.git","svn_url":"https://github.com/paircolumbus/BitlyClone","homepage":"","size":148,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"archived":false,"open_issues_count":38,"license":null,"forks":46,"open_issues":38,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41"},"html":{"href":"https://github.com/paircolumbus/BitlyClone/pull/41"},"issue":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/issues/41"},"comments":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/paircolumbus/BitlyClone/statuses/8a05ccff73e7aa8af1520b2178204e868a1ed719"}},"author_association":"NONE"}}
{"actor":{"display_login":"raghavraman"}}