{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/30bySixty/lgo/pulls/42","id":94090652,"html_url":"https://github.com/30bySixty/lgo/pull/42","diff_url":"https://github.com/30bySixty/lgo/pull/42.diff","patch_url":"https://github.com/30bySixty/lgo/pull/42.patch","issue_url":"https://api.github.com/repos/30bySixty/lgo/issues/42","number":42,"state":"open","locked":false,"title":"Add friendly urls users stories","user":{"login":"sanyuktaghai","id":15723842,"avatar_url":"https://avatars.githubusercontent.com/u/15723842?v=3","gravatar_id":"","url":"https://api.github.com/users/sanyuktaghai","html_url":"https://github.com/sanyuktaghai","followers_url":"https://api.github.com/users/sanyuktaghai/followers","following_url":"https://api.github.com/users/sanyuktaghai/following{/other_user}","gists_url":"https://api.github.com/users/sanyuktaghai/gists{/gist_id}","starred_url":"https://api.github.com/users/sanyuktaghai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanyuktaghai/subscriptions","organizations_url":"https://api.github.com/users/sanyuktaghai/orgs","repos_url":"https://api.github.com/users/sanyuktaghai/repos","events_url":"https://api.github.com/users/sanyuktaghai/events{/privacy}","received_events_url":"https://api.github.com/users/sanyuktaghai/received_events","type":"User","site_admin":false},"body":"To update existing user slugs, run the following command in the rails console:-\r\nUser.all.each(&:save!)\r\n\r\nTo update existing story slugs, run the following command in the rails console:-\r\nStory.all.each(&:save!)\r\n\r\nGem Used - FriendlyId\r\nhttps://github.com/norman/friendly_id#what-changed-in-version-50","created_at":"2016-11-17T02:25:05Z","updated_at":"2016-11-17T02:25:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/30bySixty/lgo/pulls/42/commits","review_comments_url":"https://api.github.com/repos/30bySixty/lgo/pulls/42/comments","review_comment_url":"https://api.github.com/repos/30bySixty/lgo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/30bySixty/lgo/issues/42/comments","statuses_url":"https://api.github.com/repos/30bySixty/lgo/statuses/38f69785ea251e19509a4c335129a1fdf12f2bf6","head":{"label":"30bySixty:add_friendly_urls_users_stories","ref":"add_friendly_urls_users_stories","sha":"38f69785ea251e19509a4c335129a1fdf12f2bf6","user":{"login":"30bySixty","id":11407064,"avatar_url":"https://avatars.githubusercontent.com/u/11407064?v=3","gravatar_id":"","url":"https://api.github.com/users/30bySixty","html_url":"https://github.com/30bySixty","followers_url":"https://api.github.com/users/30bySixty/followers","following_url":"https://api.github.com/users/30bySixty/following{/other_user}","gists_url":"https://api.github.com/users/30bySixty/gists{/gist_id}","starred_url":"https://api.github.com/users/30bySixty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/30bySixty/subscriptions","organizations_url":"https://api.github.com/users/30bySixty/orgs","repos_url":"https://api.github.com/users/30bySixty/repos","events_url":"https://api.github.com/users/30bySixty/events{/privacy}","received_events_url":"https://api.github.com/users/30bySixty/received_events","type":"User","site_admin":false},"repo":{"id":66858488,"name":"lgo","full_name":"30bySixty/lgo","owner":{"login":"30bySixty","id":11407064,"avatar_url":"https://avatars.githubusercontent.com/u/11407064?v=3","gravatar_id":"","url":"https://api.github.com/users/30bySixty","html_url":"https://github.com/30bySixty","followers_url":"https://api.github.com/users/30bySixty/followers","following_url":"https://api.github.com/users/30bySixty/following{/other_user}","gists_url":"https://api.github.com/users/30bySixty/gists{/gist_id}","starred_url":"https://api.github.com/users/30bySixty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/30bySixty/subscriptions","organizations_url":"https://api.github.com/users/30bySixty/orgs","repos_url":"https://api.github.com/users/30bySixty/repos","events_url":"https://api.github.com/users/30bySixty/events{/privacy}","received_events_url":"https://api.github.com/users/30bySixty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/30bySixty/lgo","description":null,"fork":false,"url":"https://api.github.com/repos/30bySixty/lgo","forks_url":"https://api.github.com/repos/30bySixty/lgo/forks","keys_url":"https://api.github.com/repos/30bySixty/lgo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/30bySixty/lgo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/30bySixty/lgo/teams","hooks_url":"https://api.github.com/repos/30bySixty/lgo/hooks","issue_events_url":"https://api.github.com/repos/30bySixty/lgo/issues/events{/number}","events_url":"https://api.github.com/repos/30bySixty/lgo/events","assignees_url":"https://api.github.com/repos/30bySixty/lgo/assignees{/user}","branches_url":"https://api.github.com/repos/30bySixty/lgo/branches{/branch}","tags_url":"https://api.github.com/repos/30bySixty/lgo/tags","blobs_url":"https://api.github.com/repos/30bySixty/lgo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/30bySixty/lgo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/30bySixty/lgo/git/refs{/sha}","trees_url":"https://api.github.com/repos/30bySixty/lgo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/30bySixty/lgo/statuses/{sha}","languages_url":"https://api.github.com/repos/30bySixty/lgo/languages","stargazers_url":"https://api.github.com/repos/30bySixty/lgo/stargazers","contributors_url":"https://api.github.com/repos/30bySixty/lgo/contributors","subscribers_url":"https://api.github.com/repos/30bySixty/lgo/subscribers","subscription_url":"https://api.github.com/repos/30bySixty/lgo/subscription","commits_url":"https://api.github.com/repos/30bySixty/lgo/commits{/sha}","git_commits_url":"https://api.github.com/repos/30bySixty/lgo/git/commits{/sha}","comments_url":"https://api.github.com/repos/30bySixty/lgo/comments{/number}","issue_comment_url":"https://api.github.com/repos/30bySixty/lgo/issues/comments{/number}","contents_url":"https://api.github.com/repos/30bySixty/lgo/contents/{+path}","compare_url":"https://api.github.com/repos/30bySixty/lgo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/30bySixty/lgo/merges","archive_url":"https://api.github.com/repos/30bySixty/lgo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/30bySixty/lgo/downloads","issues_url":"https://api.github.com/repos/30bySixty/lgo/issues{/number}","pulls_url":"https://api.github.com/repos/30bySixty/lgo/pulls{/number}","milestones_url":"https://api.github.com/repos/30bySixty/lgo/milestones{/number}","notifications_url":"https://api.github.com/repos/30bySixty/lgo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/30bySixty/lgo/labels{/name}","releases_url":"https://api.github.com/repos/30bySixty/lgo/releases{/id}","deployments_url":"https://api.github.com/repos/30bySixty/lgo/deployments","created_at":"2016-08-29T16:02:14Z","updated_at":"2016-08-29T16:58:27Z","pushed_at":"2016-11-17T02:25:06Z","git_url":"git://github.com/30bySixty/lgo.git","ssh_url":"git@github.com:30bySixty/lgo.git","clone_url":"https://github.com/30bySixty/lgo.git","svn_url":"https://github.com/30bySixty/lgo","homepage":null,"size":773,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"30bySixty:master","ref":"master","sha":"4fea24c9962147f5f9efec0531ef58ee1320ef6d","user":{"login":"30bySixty","id":11407064,"avatar_url":"https://avatars.githubusercontent.com/u/11407064?v=3","gravatar_id":"","url":"https://api.github.com/users/30bySixty","html_url":"https://github.com/30bySixty","followers_url":"https://api.github.com/users/30bySixty/followers","following_url":"https://api.github.com/users/30bySixty/following{/other_user}","gists_url":"https://api.github.com/users/30bySixty/gists{/gist_id}","starred_url":"https://api.github.com/users/30bySixty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/30bySixty/subscriptions","organizations_url":"https://api.github.com/users/30bySixty/orgs","repos_url":"https://api.github.com/users/30bySixty/repos","events_url":"https://api.github.com/users/30bySixty/events{/privacy}","received_events_url":"https://api.github.com/users/30bySixty/received_events","type":"User","site_admin":false},"repo":{"id":66858488,"name":"lgo","full_name":"30bySixty/lgo","owner":{"login":"30bySixty","id":11407064,"avatar_url":"https://avatars.githubusercontent.com/u/11407064?v=3","gravatar_id":"","url":"https://api.github.com/users/30bySixty","html_url":"https://github.com/30bySixty","followers_url":"https://api.github.com/users/30bySixty/followers","following_url":"https://api.github.com/users/30bySixty/following{/other_user}","gists_url":"https://api.github.com/users/30bySixty/gists{/gist_id}","starred_url":"https://api.github.com/users/30bySixty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/30bySixty/subscriptions","organizations_url":"https://api.github.com/users/30bySixty/orgs","repos_url":"https://api.github.com/users/30bySixty/repos","events_url":"https://api.github.com/users/30bySixty/events{/privacy}","received_events_url":"https://api.github.com/users/30bySixty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/30bySixty/lgo","description":null,"fork":false,"url":"https://api.github.com/repos/30bySixty/lgo","forks_url":"https://api.github.com/repos/30bySixty/lgo/forks","keys_url":"https://api.github.com/repos/30bySixty/lgo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/30bySixty/lgo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/30bySixty/lgo/teams","hooks_url":"https://api.github.com/repos/30bySixty/lgo/hooks","issue_events_url":"https://api.github.com/repos/30bySixty/lgo/issues/events{/number}","events_url":"https://api.github.com/repos/30bySixty/lgo/events","assignees_url":"https://api.github.com/repos/30bySixty/lgo/assignees{/user}","branches_url":"https://api.github.com/repos/30bySixty/lgo/branches{/branch}","tags_url":"https://api.github.com/repos/30bySixty/lgo/tags","blobs_url":"https://api.github.com/repos/30bySixty/lgo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/30bySixty/lgo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/30bySixty/lgo/git/refs{/sha}","trees_url":"https://api.github.com/repos/30bySixty/lgo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/30bySixty/lgo/statuses/{sha}","languages_url":"https://api.github.com/repos/30bySixty/lgo/languages","stargazers_url":"https://api.github.com/repos/30bySixty/lgo/stargazers","contributors_url":"https://api.github.com/repos/30bySixty/lgo/contributors","subscribers_url":"https://api.github.com/repos/30bySixty/lgo/subscribers","subscription_url":"https://api.github.com/repos/30bySixty/lgo/subscription","commits_url":"https://api.github.com/repos/30bySixty/lgo/commits{/sha}","git_commits_url":"https://api.github.com/repos/30bySixty/lgo/git/commits{/sha}","comments_url":"https://api.github.com/repos/30bySixty/lgo/comments{/number}","issue_comment_url":"https://api.github.com/repos/30bySixty/lgo/issues/comments{/number}","contents_url":"https://api.github.com/repos/30bySixty/lgo/contents/{+path}","compare_url":"https://api.github.com/repos/30bySixty/lgo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/30bySixty/lgo/merges","archive_url":"https://api.github.com/repos/30bySixty/lgo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/30bySixty/lgo/downloads","issues_url":"https://api.github.com/repos/30bySixty/lgo/issues{/number}","pulls_url":"https://api.github.com/repos/30bySixty/lgo/pulls{/number}","milestones_url":"https://api.github.com/repos/30bySixty/lgo/milestones{/number}","notifications_url":"https://api.github.com/repos/30bySixty/lgo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/30bySixty/lgo/labels{/name}","releases_url":"https://api.github.com/repos/30bySixty/lgo/releases{/id}","deployments_url":"https://api.github.com/repos/30bySixty/lgo/deployments","created_at":"2016-08-29T16:02:14Z","updated_at":"2016-08-29T16:58:27Z","pushed_at":"2016-11-17T02:25:06Z","git_url":"git://github.com/30bySixty/lgo.git","ssh_url":"git@github.com:30bySixty/lgo.git","clone_url":"https://github.com/30bySixty/lgo.git","svn_url":"https://github.com/30bySixty/lgo","homepage":null,"size":773,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"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/30bySixty/lgo/pulls/42"},"html":{"href":"https://github.com/30bySixty/lgo/pull/42"},"issue":{"href":"https://api.github.com/repos/30bySixty/lgo/issues/42"},"comments":{"href":"https://api.github.com/repos/30bySixty/lgo/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/30bySixty/lgo/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/30bySixty/lgo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/30bySixty/lgo/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/30bySixty/lgo/statuses/38f69785ea251e19509a4c335129a1fdf12f2bf6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":188,"deletions":13,"changed_files":17}}
{"actor":{"display_login":"sanyuktaghai"}}