{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments/136496456","pull_request_review_id":60043295,"id":136496456,"diff_hunk":"@@ -34,6 +34,19 @@ def update\n     end\n   end\n \n+  def assignment_history\n+    if params[:return_date] == Settings.device_history.return_date.using","path":"app/controllers/user_profiler_controller.rb","position":5,"original_position":5,"commit_id":"355758cd570f5045bcb665d7df1012786be4ae8b","original_commit_id":"355758cd570f5045bcb665d7df1012786be4ae8b","user":{"login":"hungnh103","id":22311747,"avatar_url":"https://avatars0.githubusercontent.com/u/22311747?v=4","gravatar_id":"","url":"https://api.github.com/users/hungnh103","html_url":"https://github.com/hungnh103","followers_url":"https://api.github.com/users/hungnh103/followers","following_url":"https://api.github.com/users/hungnh103/following{/other_user}","gists_url":"https://api.github.com/users/hungnh103/gists{/gist_id}","starred_url":"https://api.github.com/users/hungnh103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungnh103/subscriptions","organizations_url":"https://api.github.com/users/hungnh103/orgs","repos_url":"https://api.github.com/users/hungnh103/repos","events_url":"https://api.github.com/users/hungnh103/events{/privacy}","received_events_url":"https://api.github.com/users/hungnh103/received_events","type":"User","site_admin":false},"body":"chỗ ni em thay block code `if...end` bằng `case...when...end` nha","created_at":"2017-09-01T04:24:18Z","updated_at":"2017-09-01T04:29:18Z","html_url":"https://github.com/framgia/management_devise_01/pull/422#discussion_r136496456","pull_request_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/422","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments/136496456"},"html":{"href":"https://github.com/framgia/management_devise_01/pull/422#discussion_r136496456"},"pull_request":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/422"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/management_devise_01/pulls/422","id":138699006,"html_url":"https://github.com/framgia/management_devise_01/pull/422","diff_url":"https://github.com/framgia/management_devise_01/pull/422.diff","patch_url":"https://github.com/framgia/management_devise_01/pull/422.patch","issue_url":"https://api.github.com/repos/framgia/management_devise_01/issues/422","number":422,"state":"open","locked":false,"title":"fix device using history layout collapse and paginate by user","user":{"login":"tuyettran","id":22212794,"avatar_url":"https://avatars3.githubusercontent.com/u/22212794?v=4","gravatar_id":"","url":"https://api.github.com/users/tuyettran","html_url":"https://github.com/tuyettran","followers_url":"https://api.github.com/users/tuyettran/followers","following_url":"https://api.github.com/users/tuyettran/following{/other_user}","gists_url":"https://api.github.com/users/tuyettran/gists{/gist_id}","starred_url":"https://api.github.com/users/tuyettran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuyettran/subscriptions","organizations_url":"https://api.github.com/users/tuyettran/orgs","repos_url":"https://api.github.com/users/tuyettran/repos","events_url":"https://api.github.com/users/tuyettran/events{/privacy}","received_events_url":"https://api.github.com/users/tuyettran/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-31T15:34:36Z","updated_at":"2017-09-01T04:29:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d18a8b7afc05a5edf45e2c494447a096e9ee100d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/422/commits","review_comments_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/422/comments","review_comment_url":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/management_devise_01/issues/422/comments","statuses_url":"https://api.github.com/repos/framgia/management_devise_01/statuses/355758cd570f5045bcb665d7df1012786be4ae8b","head":{"label":"tuyettran:device-history","ref":"device-history","sha":"355758cd570f5045bcb665d7df1012786be4ae8b","user":{"login":"tuyettran","id":22212794,"avatar_url":"https://avatars3.githubusercontent.com/u/22212794?v=4","gravatar_id":"","url":"https://api.github.com/users/tuyettran","html_url":"https://github.com/tuyettran","followers_url":"https://api.github.com/users/tuyettran/followers","following_url":"https://api.github.com/users/tuyettran/following{/other_user}","gists_url":"https://api.github.com/users/tuyettran/gists{/gist_id}","starred_url":"https://api.github.com/users/tuyettran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuyettran/subscriptions","organizations_url":"https://api.github.com/users/tuyettran/orgs","repos_url":"https://api.github.com/users/tuyettran/repos","events_url":"https://api.github.com/users/tuyettran/events{/privacy}","received_events_url":"https://api.github.com/users/tuyettran/received_events","type":"User","site_admin":false},"repo":{"id":100666213,"name":"management_devise_01","full_name":"tuyettran/management_devise_01","owner":{"login":"tuyettran","id":22212794,"avatar_url":"https://avatars3.githubusercontent.com/u/22212794?v=4","gravatar_id":"","url":"https://api.github.com/users/tuyettran","html_url":"https://github.com/tuyettran","followers_url":"https://api.github.com/users/tuyettran/followers","following_url":"https://api.github.com/users/tuyettran/following{/other_user}","gists_url":"https://api.github.com/users/tuyettran/gists{/gist_id}","starred_url":"https://api.github.com/users/tuyettran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuyettran/subscriptions","organizations_url":"https://api.github.com/users/tuyettran/orgs","repos_url":"https://api.github.com/users/tuyettran/repos","events_url":"https://api.github.com/users/tuyettran/events{/privacy}","received_events_url":"https://api.github.com/users/tuyettran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuyettran/management_devise_01","description":null,"fork":true,"url":"https://api.github.com/repos/tuyettran/management_devise_01","forks_url":"https://api.github.com/repos/tuyettran/management_devise_01/forks","keys_url":"https://api.github.com/repos/tuyettran/management_devise_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuyettran/management_devise_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuyettran/management_devise_01/teams","hooks_url":"https://api.github.com/repos/tuyettran/management_devise_01/hooks","issue_events_url":"https://api.github.com/repos/tuyettran/management_devise_01/issues/events{/number}","events_url":"https://api.github.com/repos/tuyettran/management_devise_01/events","assignees_url":"https://api.github.com/repos/tuyettran/management_devise_01/assignees{/user}","branches_url":"https://api.github.com/repos/tuyettran/management_devise_01/branches{/branch}","tags_url":"https://api.github.com/repos/tuyettran/management_devise_01/tags","blobs_url":"https://api.github.com/repos/tuyettran/management_devise_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuyettran/management_devise_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuyettran/management_devise_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuyettran/management_devise_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuyettran/management_devise_01/statuses/{sha}","languages_url":"https://api.github.com/repos/tuyettran/management_devise_01/languages","stargazers_url":"https://api.github.com/repos/tuyettran/management_devise_01/stargazers","contributors_url":"https://api.github.com/repos/tuyettran/management_devise_01/contributors","subscribers_url":"https://api.github.com/repos/tuyettran/management_devise_01/subscribers","subscription_url":"https://api.github.com/repos/tuyettran/management_devise_01/subscription","commits_url":"https://api.github.com/repos/tuyettran/management_devise_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuyettran/management_devise_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuyettran/management_devise_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuyettran/management_devise_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuyettran/management_devise_01/contents/{+path}","compare_url":"https://api.github.com/repos/tuyettran/management_devise_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuyettran/management_devise_01/merges","archive_url":"https://api.github.com/repos/tuyettran/management_devise_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuyettran/management_devise_01/downloads","issues_url":"https://api.github.com/repos/tuyettran/management_devise_01/issues{/number}","pulls_url":"https://api.github.com/repos/tuyettran/management_devise_01/pulls{/number}","milestones_url":"https://api.github.com/repos/tuyettran/management_devise_01/milestones{/number}","notifications_url":"https://api.github.com/repos/tuyettran/management_devise_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuyettran/management_devise_01/labels{/name}","releases_url":"https://api.github.com/repos/tuyettran/management_devise_01/releases{/id}","deployments_url":"https://api.github.com/repos/tuyettran/management_devise_01/deployments","created_at":"2017-08-18T02:50:24Z","updated_at":"2017-08-18T02:50:26Z","pushed_at":"2017-09-01T03:26:49Z","git_url":"git://github.com/tuyettran/management_devise_01.git","ssh_url":"git@github.com:tuyettran/management_devise_01.git","clone_url":"https://github.com/tuyettran/management_devise_01.git","svn_url":"https://github.com/tuyettran/management_devise_01","homepage":null,"size":10984,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"5b497ee31107db854ed49c692806cab8a0d04066","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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":78728423,"name":"management_devise_01","full_name":"framgia/management_devise_01","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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/management_devise_01","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/management_devise_01","forks_url":"https://api.github.com/repos/framgia/management_devise_01/forks","keys_url":"https://api.github.com/repos/framgia/management_devise_01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/management_devise_01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/management_devise_01/teams","hooks_url":"https://api.github.com/repos/framgia/management_devise_01/hooks","issue_events_url":"https://api.github.com/repos/framgia/management_devise_01/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/management_devise_01/events","assignees_url":"https://api.github.com/repos/framgia/management_devise_01/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/management_devise_01/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/management_devise_01/tags","blobs_url":"https://api.github.com/repos/framgia/management_devise_01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/management_devise_01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/management_devise_01/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/management_devise_01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/management_devise_01/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/management_devise_01/languages","stargazers_url":"https://api.github.com/repos/framgia/management_devise_01/stargazers","contributors_url":"https://api.github.com/repos/framgia/management_devise_01/contributors","subscribers_url":"https://api.github.com/repos/framgia/management_devise_01/subscribers","subscription_url":"https://api.github.com/repos/framgia/management_devise_01/subscription","commits_url":"https://api.github.com/repos/framgia/management_devise_01/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/management_devise_01/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/management_devise_01/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/management_devise_01/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/management_devise_01/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/management_devise_01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/management_devise_01/merges","archive_url":"https://api.github.com/repos/framgia/management_devise_01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/management_devise_01/downloads","issues_url":"https://api.github.com/repos/framgia/management_devise_01/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/management_devise_01/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/management_devise_01/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/management_devise_01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/management_devise_01/labels{/name}","releases_url":"https://api.github.com/repos/framgia/management_devise_01/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/management_devise_01/deployments","created_at":"2017-01-12T09:24:48Z","updated_at":"2017-08-17T09:18:32Z","pushed_at":"2017-09-01T04:24:43Z","git_url":"git://github.com/framgia/management_devise_01.git","ssh_url":"git@github.com:framgia/management_devise_01.git","clone_url":"https://github.com/framgia/management_devise_01.git","svn_url":"https://github.com/framgia/management_devise_01","homepage":null,"size":11020,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":5,"forks":26,"open_issues":5,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/422"},"html":{"href":"https://github.com/framgia/management_devise_01/pull/422"},"issue":{"href":"https://api.github.com/repos/framgia/management_devise_01/issues/422"},"comments":{"href":"https://api.github.com/repos/framgia/management_devise_01/issues/422/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/422/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/management_devise_01/pulls/422/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/management_devise_01/statuses/355758cd570f5045bcb665d7df1012786be4ae8b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hungnh103"}}