{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_65/pulls/comments/33903491","id":33903491,"diff_hunk":"@@ -12,6 +12,8 @@ def new\n   end\n \n   def show\n+    @activities = @user.activities.recent.paginate page: params[:page],\n+      per_page: Settings.paginate_per_page","path":"app/controllers/users_controller.rb","position":5,"original_position":5,"commit_id":"37f1ce51e8c640e9834802e1938c6b7295dfc52d","original_commit_id":"37f1ce51e8c640e9834802e1938c6b7295dfc52d","user":{"login":"ThuBM","id":5279620,"avatar_url":"https://avatars.githubusercontent.com/u/5279620?v=3","gravatar_id":"","url":"https://api.github.com/users/ThuBM","html_url":"https://github.com/ThuBM","followers_url":"https://api.github.com/users/ThuBM/followers","following_url":"https://api.github.com/users/ThuBM/following{/other_user}","gists_url":"https://api.github.com/users/ThuBM/gists{/gist_id}","starred_url":"https://api.github.com/users/ThuBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThuBM/subscriptions","organizations_url":"https://api.github.com/users/ThuBM/orgs","repos_url":"https://api.github.com/users/ThuBM/repos","events_url":"https://api.github.com/users/ThuBM/events{/privacy}","received_events_url":"https://api.github.com/users/ThuBM/received_events","type":"User","site_admin":false},"body":"per_page dat thang hang voi page","created_at":"2015-07-06T02:59:15Z","updated_at":"2015-07-06T02:59:15Z","html_url":"https://github.com/framgia/fels_65/pull/23#discussion_r33903491","pull_request_url":"https://api.github.com/repos/framgia/fels_65/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_65/pulls/comments/33903491"},"html":{"href":"https://github.com/framgia/fels_65/pull/23#discussion_r33903491"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_65/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_65/pulls/23","id":39231042,"html_url":"https://github.com/framgia/fels_65/pull/23","diff_url":"https://github.com/framgia/fels_65/pull/23.diff","patch_url":"https://github.com/framgia/fels_65/pull/23.patch","issue_url":"https://api.github.com/repos/framgia/fels_65/issues/23","number":23,"state":"open","locked":false,"title":"User activities","user":{"login":"thiennv57","id":6743101,"avatar_url":"https://avatars.githubusercontent.com/u/6743101?v=3","gravatar_id":"","url":"https://api.github.com/users/thiennv57","html_url":"https://github.com/thiennv57","followers_url":"https://api.github.com/users/thiennv57/followers","following_url":"https://api.github.com/users/thiennv57/following{/other_user}","gists_url":"https://api.github.com/users/thiennv57/gists{/gist_id}","starred_url":"https://api.github.com/users/thiennv57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiennv57/subscriptions","organizations_url":"https://api.github.com/users/thiennv57/orgs","repos_url":"https://api.github.com/users/thiennv57/repos","events_url":"https://api.github.com/users/thiennv57/events{/privacy}","received_events_url":"https://api.github.com/users/thiennv57/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-06T01:47:59Z","updated_at":"2015-07-06T02:59:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd3c339b89d47e7e01fbd133874081b86dedaa30","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_65/pulls/23/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_65/pulls/23/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_65/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_65/issues/23/comments","statuses_url":"https://api.github.com/repos/framgia/fels_65/statuses/37f1ce51e8c640e9834802e1938c6b7295dfc52d","head":{"label":"thiennv57:activity-user","ref":"activity-user","sha":"37f1ce51e8c640e9834802e1938c6b7295dfc52d","user":{"login":"thiennv57","id":6743101,"avatar_url":"https://avatars.githubusercontent.com/u/6743101?v=3","gravatar_id":"","url":"https://api.github.com/users/thiennv57","html_url":"https://github.com/thiennv57","followers_url":"https://api.github.com/users/thiennv57/followers","following_url":"https://api.github.com/users/thiennv57/following{/other_user}","gists_url":"https://api.github.com/users/thiennv57/gists{/gist_id}","starred_url":"https://api.github.com/users/thiennv57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiennv57/subscriptions","organizations_url":"https://api.github.com/users/thiennv57/orgs","repos_url":"https://api.github.com/users/thiennv57/repos","events_url":"https://api.github.com/users/thiennv57/events{/privacy}","received_events_url":"https://api.github.com/users/thiennv57/received_events","type":"User","site_admin":false},"repo":{"id":38027853,"name":"fels_65","full_name":"thiennv57/fels_65","owner":{"login":"thiennv57","id":6743101,"avatar_url":"https://avatars.githubusercontent.com/u/6743101?v=3","gravatar_id":"","url":"https://api.github.com/users/thiennv57","html_url":"https://github.com/thiennv57","followers_url":"https://api.github.com/users/thiennv57/followers","following_url":"https://api.github.com/users/thiennv57/following{/other_user}","gists_url":"https://api.github.com/users/thiennv57/gists{/gist_id}","starred_url":"https://api.github.com/users/thiennv57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiennv57/subscriptions","organizations_url":"https://api.github.com/users/thiennv57/orgs","repos_url":"https://api.github.com/users/thiennv57/repos","events_url":"https://api.github.com/users/thiennv57/events{/privacy}","received_events_url":"https://api.github.com/users/thiennv57/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thiennv57/fels_65","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/thiennv57/fels_65","forks_url":"https://api.github.com/repos/thiennv57/fels_65/forks","keys_url":"https://api.github.com/repos/thiennv57/fels_65/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thiennv57/fels_65/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thiennv57/fels_65/teams","hooks_url":"https://api.github.com/repos/thiennv57/fels_65/hooks","issue_events_url":"https://api.github.com/repos/thiennv57/fels_65/issues/events{/number}","events_url":"https://api.github.com/repos/thiennv57/fels_65/events","assignees_url":"https://api.github.com/repos/thiennv57/fels_65/assignees{/user}","branches_url":"https://api.github.com/repos/thiennv57/fels_65/branches{/branch}","tags_url":"https://api.github.com/repos/thiennv57/fels_65/tags","blobs_url":"https://api.github.com/repos/thiennv57/fels_65/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thiennv57/fels_65/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thiennv57/fels_65/git/refs{/sha}","trees_url":"https://api.github.com/repos/thiennv57/fels_65/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thiennv57/fels_65/statuses/{sha}","languages_url":"https://api.github.com/repos/thiennv57/fels_65/languages","stargazers_url":"https://api.github.com/repos/thiennv57/fels_65/stargazers","contributors_url":"https://api.github.com/repos/thiennv57/fels_65/contributors","subscribers_url":"https://api.github.com/repos/thiennv57/fels_65/subscribers","subscription_url":"https://api.github.com/repos/thiennv57/fels_65/subscription","commits_url":"https://api.github.com/repos/thiennv57/fels_65/commits{/sha}","git_commits_url":"https://api.github.com/repos/thiennv57/fels_65/git/commits{/sha}","comments_url":"https://api.github.com/repos/thiennv57/fels_65/comments{/number}","issue_comment_url":"https://api.github.com/repos/thiennv57/fels_65/issues/comments{/number}","contents_url":"https://api.github.com/repos/thiennv57/fels_65/contents/{+path}","compare_url":"https://api.github.com/repos/thiennv57/fels_65/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thiennv57/fels_65/merges","archive_url":"https://api.github.com/repos/thiennv57/fels_65/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thiennv57/fels_65/downloads","issues_url":"https://api.github.com/repos/thiennv57/fels_65/issues{/number}","pulls_url":"https://api.github.com/repos/thiennv57/fels_65/pulls{/number}","milestones_url":"https://api.github.com/repos/thiennv57/fels_65/milestones{/number}","notifications_url":"https://api.github.com/repos/thiennv57/fels_65/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thiennv57/fels_65/labels{/name}","releases_url":"https://api.github.com/repos/thiennv57/fels_65/releases{/id}","created_at":"2015-06-25T04:30:02Z","updated_at":"2015-06-25T02:12:17Z","pushed_at":"2015-07-06T02:57:16Z","git_url":"git://github.com/thiennv57/fels_65.git","ssh_url":"git@github.com:thiennv57/fels_65.git","clone_url":"https://github.com/thiennv57/fels_65.git","svn_url":"https://github.com/thiennv57/fels_65","homepage":null,"size":436,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"afdf928e4bb5906b37385514f61a90464af8f19c","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":38022545,"name":"fels_65","full_name":"framgia/fels_65","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/fels_65","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_65","forks_url":"https://api.github.com/repos/framgia/fels_65/forks","keys_url":"https://api.github.com/repos/framgia/fels_65/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_65/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_65/teams","hooks_url":"https://api.github.com/repos/framgia/fels_65/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_65/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_65/events","assignees_url":"https://api.github.com/repos/framgia/fels_65/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_65/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_65/tags","blobs_url":"https://api.github.com/repos/framgia/fels_65/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_65/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_65/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_65/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_65/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_65/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_65/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_65/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_65/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_65/subscription","commits_url":"https://api.github.com/repos/framgia/fels_65/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_65/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_65/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_65/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_65/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_65/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_65/merges","archive_url":"https://api.github.com/repos/framgia/fels_65/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_65/downloads","issues_url":"https://api.github.com/repos/framgia/fels_65/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_65/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_65/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_65/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_65/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_65/releases{/id}","created_at":"2015-06-25T02:12:17Z","updated_at":"2015-06-25T02:12:17Z","pushed_at":"2015-07-06T02:57:17Z","git_url":"git://github.com/framgia/fels_65.git","ssh_url":"git@github.com:framgia/fels_65.git","clone_url":"https://github.com/framgia/fels_65.git","svn_url":"https://github.com/framgia/fels_65","homepage":null,"size":681,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_65/pulls/23"},"html":{"href":"https://github.com/framgia/fels_65/pull/23"},"issue":{"href":"https://api.github.com/repos/framgia/fels_65/issues/23"},"comments":{"href":"https://api.github.com/repos/framgia/fels_65/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_65/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_65/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_65/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_65/statuses/37f1ce51e8c640e9834802e1938c6b7295dfc52d"}}}}