{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fts_17/pulls/comments/27193126","id":27193126,"diff_hunk":"@@ -3,11 +3,14 @@ class User < ActiveRecord::Base\n   # :confirmable, :lockable, :timeoutable and :omniauthable\n   devise :database_authenticatable, :registerable,\n          :recoverable, :rememberable, :trackable, :validatable\n-\n   has_attached_file :avatar, styles: {medium: \"300x300>\", thumb: \"100x100\"}, \n     default_url: \":styles/default.png\"\n   validates_attachment_content_type :avatar, content_type: /\\Aimage\\/.*\\Z/\n-\n   scope :without_user, ->user {where.not id: user}\n+  \n+  protected \n+  def password_required? \n+    false \n+  end  \n ","path":"app/models/user.rb","position":15,"original_position":15,"commit_id":"623ba6056375bbc5f10bfd93ebdd1f96b7132876","original_commit_id":"623ba6056375bbc5f10bfd93ebdd1f96b7132876","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":"remove","created_at":"2015-03-26T07:41:33Z","updated_at":"2015-03-26T07:41:33Z","html_url":"https://github.com/framgia/fts_17/pull/13#discussion_r27193126","pull_request_url":"https://api.github.com/repos/framgia/fts_17/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_17/pulls/comments/27193126"},"html":{"href":"https://github.com/framgia/fts_17/pull/13#discussion_r27193126"},"pull_request":{"href":"https://api.github.com/repos/framgia/fts_17/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fts_17/pulls/13","id":31995028,"html_url":"https://github.com/framgia/fts_17/pull/13","diff_url":"https://github.com/framgia/fts_17/pull/13.diff","patch_url":"https://github.com/framgia/fts_17/pull/13.patch","issue_url":"https://api.github.com/repos/framgia/fts_17/issues/13","number":13,"state":"open","locked":false,"title":"Edit-Delete User","user":{"login":"phuong1492","id":9030738,"avatar_url":"https://avatars.githubusercontent.com/u/9030738?v=3","gravatar_id":"","url":"https://api.github.com/users/phuong1492","html_url":"https://github.com/phuong1492","followers_url":"https://api.github.com/users/phuong1492/followers","following_url":"https://api.github.com/users/phuong1492/following{/other_user}","gists_url":"https://api.github.com/users/phuong1492/gists{/gist_id}","starred_url":"https://api.github.com/users/phuong1492/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuong1492/subscriptions","organizations_url":"https://api.github.com/users/phuong1492/orgs","repos_url":"https://api.github.com/users/phuong1492/repos","events_url":"https://api.github.com/users/phuong1492/events{/privacy}","received_events_url":"https://api.github.com/users/phuong1492/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-26T07:39:49Z","updated_at":"2015-03-26T07:41:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21762ce9c2dc908f93d9d0f8eb73b45131023ee3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fts_17/pulls/13/commits","review_comments_url":"https://api.github.com/repos/framgia/fts_17/pulls/13/comments","review_comment_url":"https://api.github.com/repos/framgia/fts_17/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fts_17/issues/13/comments","statuses_url":"https://api.github.com/repos/framgia/fts_17/statuses/623ba6056375bbc5f10bfd93ebdd1f96b7132876","head":{"label":"phuong1492:Edit-Delete-User","ref":"Edit-Delete-User","sha":"623ba6056375bbc5f10bfd93ebdd1f96b7132876","user":{"login":"phuong1492","id":9030738,"avatar_url":"https://avatars.githubusercontent.com/u/9030738?v=3","gravatar_id":"","url":"https://api.github.com/users/phuong1492","html_url":"https://github.com/phuong1492","followers_url":"https://api.github.com/users/phuong1492/followers","following_url":"https://api.github.com/users/phuong1492/following{/other_user}","gists_url":"https://api.github.com/users/phuong1492/gists{/gist_id}","starred_url":"https://api.github.com/users/phuong1492/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuong1492/subscriptions","organizations_url":"https://api.github.com/users/phuong1492/orgs","repos_url":"https://api.github.com/users/phuong1492/repos","events_url":"https://api.github.com/users/phuong1492/events{/privacy}","received_events_url":"https://api.github.com/users/phuong1492/received_events","type":"User","site_admin":false},"repo":{"id":32446011,"name":"fts_17","full_name":"phuong1492/fts_17","owner":{"login":"phuong1492","id":9030738,"avatar_url":"https://avatars.githubusercontent.com/u/9030738?v=3","gravatar_id":"","url":"https://api.github.com/users/phuong1492","html_url":"https://github.com/phuong1492","followers_url":"https://api.github.com/users/phuong1492/followers","following_url":"https://api.github.com/users/phuong1492/following{/other_user}","gists_url":"https://api.github.com/users/phuong1492/gists{/gist_id}","starred_url":"https://api.github.com/users/phuong1492/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuong1492/subscriptions","organizations_url":"https://api.github.com/users/phuong1492/orgs","repos_url":"https://api.github.com/users/phuong1492/repos","events_url":"https://api.github.com/users/phuong1492/events{/privacy}","received_events_url":"https://api.github.com/users/phuong1492/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phuong1492/fts_17","description":"Framgia Test System (training)","fork":true,"url":"https://api.github.com/repos/phuong1492/fts_17","forks_url":"https://api.github.com/repos/phuong1492/fts_17/forks","keys_url":"https://api.github.com/repos/phuong1492/fts_17/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phuong1492/fts_17/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phuong1492/fts_17/teams","hooks_url":"https://api.github.com/repos/phuong1492/fts_17/hooks","issue_events_url":"https://api.github.com/repos/phuong1492/fts_17/issues/events{/number}","events_url":"https://api.github.com/repos/phuong1492/fts_17/events","assignees_url":"https://api.github.com/repos/phuong1492/fts_17/assignees{/user}","branches_url":"https://api.github.com/repos/phuong1492/fts_17/branches{/branch}","tags_url":"https://api.github.com/repos/phuong1492/fts_17/tags","blobs_url":"https://api.github.com/repos/phuong1492/fts_17/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phuong1492/fts_17/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phuong1492/fts_17/git/refs{/sha}","trees_url":"https://api.github.com/repos/phuong1492/fts_17/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phuong1492/fts_17/statuses/{sha}","languages_url":"https://api.github.com/repos/phuong1492/fts_17/languages","stargazers_url":"https://api.github.com/repos/phuong1492/fts_17/stargazers","contributors_url":"https://api.github.com/repos/phuong1492/fts_17/contributors","subscribers_url":"https://api.github.com/repos/phuong1492/fts_17/subscribers","subscription_url":"https://api.github.com/repos/phuong1492/fts_17/subscription","commits_url":"https://api.github.com/repos/phuong1492/fts_17/commits{/sha}","git_commits_url":"https://api.github.com/repos/phuong1492/fts_17/git/commits{/sha}","comments_url":"https://api.github.com/repos/phuong1492/fts_17/comments{/number}","issue_comment_url":"https://api.github.com/repos/phuong1492/fts_17/issues/comments{/number}","contents_url":"https://api.github.com/repos/phuong1492/fts_17/contents/{+path}","compare_url":"https://api.github.com/repos/phuong1492/fts_17/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phuong1492/fts_17/merges","archive_url":"https://api.github.com/repos/phuong1492/fts_17/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phuong1492/fts_17/downloads","issues_url":"https://api.github.com/repos/phuong1492/fts_17/issues{/number}","pulls_url":"https://api.github.com/repos/phuong1492/fts_17/pulls{/number}","milestones_url":"https://api.github.com/repos/phuong1492/fts_17/milestones{/number}","notifications_url":"https://api.github.com/repos/phuong1492/fts_17/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phuong1492/fts_17/labels{/name}","releases_url":"https://api.github.com/repos/phuong1492/fts_17/releases{/id}","created_at":"2015-03-18T08:11:33Z","updated_at":"2015-03-13T09:29:29Z","pushed_at":"2015-03-26T07:39:32Z","git_url":"git://github.com/phuong1492/fts_17.git","ssh_url":"git@github.com:phuong1492/fts_17.git","clone_url":"https://github.com/phuong1492/fts_17.git","svn_url":"https://github.com/phuong1492/fts_17","homepage":null,"size":316,"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":"6820efce31d0df3cfb31d14e47684b45fa132fea","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":32147220,"name":"fts_17","full_name":"framgia/fts_17","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/fts_17","description":"Framgia Test System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fts_17","forks_url":"https://api.github.com/repos/framgia/fts_17/forks","keys_url":"https://api.github.com/repos/framgia/fts_17/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fts_17/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fts_17/teams","hooks_url":"https://api.github.com/repos/framgia/fts_17/hooks","issue_events_url":"https://api.github.com/repos/framgia/fts_17/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fts_17/events","assignees_url":"https://api.github.com/repos/framgia/fts_17/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fts_17/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fts_17/tags","blobs_url":"https://api.github.com/repos/framgia/fts_17/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fts_17/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fts_17/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fts_17/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fts_17/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fts_17/languages","stargazers_url":"https://api.github.com/repos/framgia/fts_17/stargazers","contributors_url":"https://api.github.com/repos/framgia/fts_17/contributors","subscribers_url":"https://api.github.com/repos/framgia/fts_17/subscribers","subscription_url":"https://api.github.com/repos/framgia/fts_17/subscription","commits_url":"https://api.github.com/repos/framgia/fts_17/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fts_17/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fts_17/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fts_17/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fts_17/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fts_17/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fts_17/merges","archive_url":"https://api.github.com/repos/framgia/fts_17/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fts_17/downloads","issues_url":"https://api.github.com/repos/framgia/fts_17/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fts_17/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fts_17/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fts_17/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fts_17/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fts_17/releases{/id}","created_at":"2015-03-13T09:29:29Z","updated_at":"2015-03-13T09:29:29Z","pushed_at":"2015-03-26T07:39:49Z","git_url":"git://github.com/framgia/fts_17.git","ssh_url":"git@github.com:framgia/fts_17.git","clone_url":"https://github.com/framgia/fts_17.git","svn_url":"https://github.com/framgia/fts_17","homepage":null,"size":380,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_17/pulls/13"},"html":{"href":"https://github.com/framgia/fts_17/pull/13"},"issue":{"href":"https://api.github.com/repos/framgia/fts_17/issues/13"},"comments":{"href":"https://api.github.com/repos/framgia/fts_17/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fts_17/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fts_17/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fts_17/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fts_17/statuses/623ba6056375bbc5f10bfd93ebdd1f96b7132876"}}}}