{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fdf_16/pulls/comments/82346596","pull_request_review_id":3260772,"id":82346596,"diff_hunk":"@@ -1,3 +1,6 @@\n class Suggest < ApplicationRecord\n   belongs_to :user\n+\n+  scope :newest, ->{order :content}","path":"app/models/suggest.rb","position":4,"original_position":4,"commit_id":"50be580c8b4ace806e418a2f3a2c4d9f0b389a5c","original_commit_id":"50be580c8b4ace806e418a2f3a2c4d9f0b389a5c","user":{"login":"nvtanh","id":5591946,"avatar_url":"https://avatars.githubusercontent.com/u/5591946?v=3","gravatar_id":"","url":"https://api.github.com/users/nvtanh","html_url":"https://github.com/nvtanh","followers_url":"https://api.github.com/users/nvtanh/followers","following_url":"https://api.github.com/users/nvtanh/following{/other_user}","gists_url":"https://api.github.com/users/nvtanh/gists{/gist_id}","starred_url":"https://api.github.com/users/nvtanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvtanh/subscriptions","organizations_url":"https://api.github.com/users/nvtanh/orgs","repos_url":"https://api.github.com/users/nvtanh/repos","events_url":"https://api.github.com/users/nvtanh/events{/privacy}","received_events_url":"https://api.github.com/users/nvtanh/received_events","type":"User","site_admin":false},"body":"order theo content mà lại lấy tên là newest là sao ? ","created_at":"2016-10-07T08:19:37Z","updated_at":"2016-10-07T08:21:23Z","html_url":"https://github.com/framgia/fdf_16/pull/27#discussion_r82346596","pull_request_url":"https://api.github.com/repos/framgia/fdf_16/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/framgia/fdf_16/pulls/comments/82346596"},"html":{"href":"https://github.com/framgia/fdf_16/pull/27#discussion_r82346596"},"pull_request":{"href":"https://api.github.com/repos/framgia/fdf_16/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fdf_16/pulls/27","id":88393213,"html_url":"https://github.com/framgia/fdf_16/pull/27","diff_url":"https://github.com/framgia/fdf_16/pull/27.diff","patch_url":"https://github.com/framgia/fdf_16/pull/27.patch","issue_url":"https://api.github.com/repos/framgia/fdf_16/issues/27","number":27,"state":"open","locked":false,"title":"edit show suggest user","user":{"login":"hung18892","id":22054988,"avatar_url":"https://avatars.githubusercontent.com/u/22054988?v=3","gravatar_id":"","url":"https://api.github.com/users/hung18892","html_url":"https://github.com/hung18892","followers_url":"https://api.github.com/users/hung18892/followers","following_url":"https://api.github.com/users/hung18892/following{/other_user}","gists_url":"https://api.github.com/users/hung18892/gists{/gist_id}","starred_url":"https://api.github.com/users/hung18892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung18892/subscriptions","organizations_url":"https://api.github.com/users/hung18892/orgs","repos_url":"https://api.github.com/users/hung18892/repos","events_url":"https://api.github.com/users/hung18892/events{/privacy}","received_events_url":"https://api.github.com/users/hung18892/received_events","type":"User","site_admin":false},"body":"edit show suggest user","created_at":"2016-10-07T07:40:33Z","updated_at":"2016-10-07T08:21:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3a7d3393e9ce61d75436d14ca2425c8b1bd1d2d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fdf_16/pulls/27/commits","review_comments_url":"https://api.github.com/repos/framgia/fdf_16/pulls/27/comments","review_comment_url":"https://api.github.com/repos/framgia/fdf_16/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fdf_16/issues/27/comments","statuses_url":"https://api.github.com/repos/framgia/fdf_16/statuses/50be580c8b4ace806e418a2f3a2c4d9f0b389a5c","head":{"label":"hung18892:users","ref":"users","sha":"50be580c8b4ace806e418a2f3a2c4d9f0b389a5c","user":{"login":"hung18892","id":22054988,"avatar_url":"https://avatars.githubusercontent.com/u/22054988?v=3","gravatar_id":"","url":"https://api.github.com/users/hung18892","html_url":"https://github.com/hung18892","followers_url":"https://api.github.com/users/hung18892/followers","following_url":"https://api.github.com/users/hung18892/following{/other_user}","gists_url":"https://api.github.com/users/hung18892/gists{/gist_id}","starred_url":"https://api.github.com/users/hung18892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung18892/subscriptions","organizations_url":"https://api.github.com/users/hung18892/orgs","repos_url":"https://api.github.com/users/hung18892/repos","events_url":"https://api.github.com/users/hung18892/events{/privacy}","received_events_url":"https://api.github.com/users/hung18892/received_events","type":"User","site_admin":false},"repo":{"id":69546617,"name":"fdf_16","full_name":"hung18892/fdf_16","owner":{"login":"hung18892","id":22054988,"avatar_url":"https://avatars.githubusercontent.com/u/22054988?v=3","gravatar_id":"","url":"https://api.github.com/users/hung18892","html_url":"https://github.com/hung18892","followers_url":"https://api.github.com/users/hung18892/followers","following_url":"https://api.github.com/users/hung18892/following{/other_user}","gists_url":"https://api.github.com/users/hung18892/gists{/gist_id}","starred_url":"https://api.github.com/users/hung18892/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hung18892/subscriptions","organizations_url":"https://api.github.com/users/hung18892/orgs","repos_url":"https://api.github.com/users/hung18892/repos","events_url":"https://api.github.com/users/hung18892/events{/privacy}","received_events_url":"https://api.github.com/users/hung18892/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hung18892/fdf_16","description":"Foods & Drinks (training)","fork":true,"url":"https://api.github.com/repos/hung18892/fdf_16","forks_url":"https://api.github.com/repos/hung18892/fdf_16/forks","keys_url":"https://api.github.com/repos/hung18892/fdf_16/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hung18892/fdf_16/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hung18892/fdf_16/teams","hooks_url":"https://api.github.com/repos/hung18892/fdf_16/hooks","issue_events_url":"https://api.github.com/repos/hung18892/fdf_16/issues/events{/number}","events_url":"https://api.github.com/repos/hung18892/fdf_16/events","assignees_url":"https://api.github.com/repos/hung18892/fdf_16/assignees{/user}","branches_url":"https://api.github.com/repos/hung18892/fdf_16/branches{/branch}","tags_url":"https://api.github.com/repos/hung18892/fdf_16/tags","blobs_url":"https://api.github.com/repos/hung18892/fdf_16/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hung18892/fdf_16/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hung18892/fdf_16/git/refs{/sha}","trees_url":"https://api.github.com/repos/hung18892/fdf_16/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hung18892/fdf_16/statuses/{sha}","languages_url":"https://api.github.com/repos/hung18892/fdf_16/languages","stargazers_url":"https://api.github.com/repos/hung18892/fdf_16/stargazers","contributors_url":"https://api.github.com/repos/hung18892/fdf_16/contributors","subscribers_url":"https://api.github.com/repos/hung18892/fdf_16/subscribers","subscription_url":"https://api.github.com/repos/hung18892/fdf_16/subscription","commits_url":"https://api.github.com/repos/hung18892/fdf_16/commits{/sha}","git_commits_url":"https://api.github.com/repos/hung18892/fdf_16/git/commits{/sha}","comments_url":"https://api.github.com/repos/hung18892/fdf_16/comments{/number}","issue_comment_url":"https://api.github.com/repos/hung18892/fdf_16/issues/comments{/number}","contents_url":"https://api.github.com/repos/hung18892/fdf_16/contents/{+path}","compare_url":"https://api.github.com/repos/hung18892/fdf_16/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hung18892/fdf_16/merges","archive_url":"https://api.github.com/repos/hung18892/fdf_16/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hung18892/fdf_16/downloads","issues_url":"https://api.github.com/repos/hung18892/fdf_16/issues{/number}","pulls_url":"https://api.github.com/repos/hung18892/fdf_16/pulls{/number}","milestones_url":"https://api.github.com/repos/hung18892/fdf_16/milestones{/number}","notifications_url":"https://api.github.com/repos/hung18892/fdf_16/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hung18892/fdf_16/labels{/name}","releases_url":"https://api.github.com/repos/hung18892/fdf_16/releases{/id}","deployments_url":"https://api.github.com/repos/hung18892/fdf_16/deployments","created_at":"2016-09-29T08:21:15Z","updated_at":"2016-09-27T09:05:11Z","pushed_at":"2016-10-07T08:13:29Z","git_url":"git://github.com/hung18892/fdf_16.git","ssh_url":"git@github.com:hung18892/fdf_16.git","clone_url":"https://github.com/hung18892/fdf_16.git","svn_url":"https://github.com/hung18892/fdf_16","homepage":null,"size":50,"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":"e4c0fa1a27f652119644ca01f32d5c8e990c3108","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":69338690,"name":"fdf_16","full_name":"framgia/fdf_16","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/fdf_16","description":"Foods & Drinks (training)","fork":false,"url":"https://api.github.com/repos/framgia/fdf_16","forks_url":"https://api.github.com/repos/framgia/fdf_16/forks","keys_url":"https://api.github.com/repos/framgia/fdf_16/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fdf_16/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fdf_16/teams","hooks_url":"https://api.github.com/repos/framgia/fdf_16/hooks","issue_events_url":"https://api.github.com/repos/framgia/fdf_16/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fdf_16/events","assignees_url":"https://api.github.com/repos/framgia/fdf_16/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fdf_16/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fdf_16/tags","blobs_url":"https://api.github.com/repos/framgia/fdf_16/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fdf_16/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fdf_16/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fdf_16/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fdf_16/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fdf_16/languages","stargazers_url":"https://api.github.com/repos/framgia/fdf_16/stargazers","contributors_url":"https://api.github.com/repos/framgia/fdf_16/contributors","subscribers_url":"https://api.github.com/repos/framgia/fdf_16/subscribers","subscription_url":"https://api.github.com/repos/framgia/fdf_16/subscription","commits_url":"https://api.github.com/repos/framgia/fdf_16/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fdf_16/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fdf_16/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fdf_16/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fdf_16/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fdf_16/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fdf_16/merges","archive_url":"https://api.github.com/repos/framgia/fdf_16/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fdf_16/downloads","issues_url":"https://api.github.com/repos/framgia/fdf_16/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fdf_16/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fdf_16/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fdf_16/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fdf_16/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fdf_16/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fdf_16/deployments","created_at":"2016-09-27T09:05:11Z","updated_at":"2016-09-27T09:05:11Z","pushed_at":"2016-10-07T08:13:29Z","git_url":"git://github.com/framgia/fdf_16.git","ssh_url":"git@github.com:framgia/fdf_16.git","clone_url":"https://github.com/framgia/fdf_16.git","svn_url":"https://github.com/framgia/fdf_16","homepage":null,"size":77,"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":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fdf_16/pulls/27"},"html":{"href":"https://github.com/framgia/fdf_16/pull/27"},"issue":{"href":"https://api.github.com/repos/framgia/fdf_16/issues/27"},"comments":{"href":"https://api.github.com/repos/framgia/fdf_16/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fdf_16/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fdf_16/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fdf_16/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fdf_16/statuses/50be580c8b4ace806e418a2f3a2c4d9f0b389a5c"}}}}
{"actor":{"display_login":"nvtanh"}}