{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fts_35/pulls/comments/33905066","id":33905066,"diff_hunk":"@@ -0,0 +1,9 @@\n+class User < ActiveRecord::Base\n+  has_many :exams, dependent: :destroy\n+  \n+  validates :email,\n+    format: {with: /\\A[\\w+\\-.]+@[a-z\\d\\-.]+\\.[a-z]+\\z/i},\n+    presence: true, length: {maximum: 255},","path":"app/models/user.rb","position":6,"original_position":6,"commit_id":"a56922facbab28b242d141f69a9faaf20428046d","original_commit_id":"a56922facbab28b242d141f69a9faaf20428046d","user":{"login":"tunv","id":6411231,"avatar_url":"https://avatars.githubusercontent.com/u/6411231?v=3","gravatar_id":"","url":"https://api.github.com/users/tunv","html_url":"https://github.com/tunv","followers_url":"https://api.github.com/users/tunv/followers","following_url":"https://api.github.com/users/tunv/following{/other_user}","gists_url":"https://api.github.com/users/tunv/gists{/gist_id}","starred_url":"https://api.github.com/users/tunv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tunv/subscriptions","organizations_url":"https://api.github.com/users/tunv/orgs","repos_url":"https://api.github.com/users/tunv/repos","events_url":"https://api.github.com/users/tunv/events{/privacy}","received_events_url":"https://api.github.com/users/tunv/received_events","type":"User","site_admin":false},"body":"255 to rails_config","created_at":"2015-07-06T04:17:10Z","updated_at":"2015-07-06T04:17:10Z","html_url":"https://github.com/framgia/fts_35/pull/1#discussion_r33905066","pull_request_url":"https://api.github.com/repos/framgia/fts_35/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_35/pulls/comments/33905066"},"html":{"href":"https://github.com/framgia/fts_35/pull/1#discussion_r33905066"},"pull_request":{"href":"https://api.github.com/repos/framgia/fts_35/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fts_35/pulls/1","id":39235005,"html_url":"https://github.com/framgia/fts_35/pull/1","diff_url":"https://github.com/framgia/fts_35/pull/1.diff","patch_url":"https://github.com/framgia/fts_35/pull/1.patch","issue_url":"https://api.github.com/repos/framgia/fts_35/issues/1","number":1,"state":"open","locked":false,"title":"Task/34161 Init models and relationships","user":{"login":"yuyuvn","id":6410496,"avatar_url":"https://avatars.githubusercontent.com/u/6410496?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyuvn","html_url":"https://github.com/yuyuvn","followers_url":"https://api.github.com/users/yuyuvn/followers","following_url":"https://api.github.com/users/yuyuvn/following{/other_user}","gists_url":"https://api.github.com/users/yuyuvn/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyuvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyuvn/subscriptions","organizations_url":"https://api.github.com/users/yuyuvn/orgs","repos_url":"https://api.github.com/users/yuyuvn/repos","events_url":"https://api.github.com/users/yuyuvn/events{/privacy}","received_events_url":"https://api.github.com/users/yuyuvn/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-06T04:13:27Z","updated_at":"2015-07-06T04:17:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e52dffc54287e3890f48894b1031451fe51f879","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fts_35/pulls/1/commits","review_comments_url":"https://api.github.com/repos/framgia/fts_35/pulls/1/comments","review_comment_url":"https://api.github.com/repos/framgia/fts_35/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fts_35/issues/1/comments","statuses_url":"https://api.github.com/repos/framgia/fts_35/statuses/a56922facbab28b242d141f69a9faaf20428046d","head":{"label":"yuyuvn:task/34161","ref":"task/34161","sha":"a56922facbab28b242d141f69a9faaf20428046d","user":{"login":"yuyuvn","id":6410496,"avatar_url":"https://avatars.githubusercontent.com/u/6410496?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyuvn","html_url":"https://github.com/yuyuvn","followers_url":"https://api.github.com/users/yuyuvn/followers","following_url":"https://api.github.com/users/yuyuvn/following{/other_user}","gists_url":"https://api.github.com/users/yuyuvn/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyuvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyuvn/subscriptions","organizations_url":"https://api.github.com/users/yuyuvn/orgs","repos_url":"https://api.github.com/users/yuyuvn/repos","events_url":"https://api.github.com/users/yuyuvn/events{/privacy}","received_events_url":"https://api.github.com/users/yuyuvn/received_events","type":"User","site_admin":false},"repo":{"id":38594348,"name":"fts_35","full_name":"yuyuvn/fts_35","owner":{"login":"yuyuvn","id":6410496,"avatar_url":"https://avatars.githubusercontent.com/u/6410496?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyuvn","html_url":"https://github.com/yuyuvn","followers_url":"https://api.github.com/users/yuyuvn/followers","following_url":"https://api.github.com/users/yuyuvn/following{/other_user}","gists_url":"https://api.github.com/users/yuyuvn/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyuvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyuvn/subscriptions","organizations_url":"https://api.github.com/users/yuyuvn/orgs","repos_url":"https://api.github.com/users/yuyuvn/repos","events_url":"https://api.github.com/users/yuyuvn/events{/privacy}","received_events_url":"https://api.github.com/users/yuyuvn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuyuvn/fts_35","description":"Framgia Test System (training)","fork":true,"url":"https://api.github.com/repos/yuyuvn/fts_35","forks_url":"https://api.github.com/repos/yuyuvn/fts_35/forks","keys_url":"https://api.github.com/repos/yuyuvn/fts_35/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuyuvn/fts_35/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuyuvn/fts_35/teams","hooks_url":"https://api.github.com/repos/yuyuvn/fts_35/hooks","issue_events_url":"https://api.github.com/repos/yuyuvn/fts_35/issues/events{/number}","events_url":"https://api.github.com/repos/yuyuvn/fts_35/events","assignees_url":"https://api.github.com/repos/yuyuvn/fts_35/assignees{/user}","branches_url":"https://api.github.com/repos/yuyuvn/fts_35/branches{/branch}","tags_url":"https://api.github.com/repos/yuyuvn/fts_35/tags","blobs_url":"https://api.github.com/repos/yuyuvn/fts_35/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuyuvn/fts_35/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuyuvn/fts_35/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuyuvn/fts_35/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuyuvn/fts_35/statuses/{sha}","languages_url":"https://api.github.com/repos/yuyuvn/fts_35/languages","stargazers_url":"https://api.github.com/repos/yuyuvn/fts_35/stargazers","contributors_url":"https://api.github.com/repos/yuyuvn/fts_35/contributors","subscribers_url":"https://api.github.com/repos/yuyuvn/fts_35/subscribers","subscription_url":"https://api.github.com/repos/yuyuvn/fts_35/subscription","commits_url":"https://api.github.com/repos/yuyuvn/fts_35/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuyuvn/fts_35/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuyuvn/fts_35/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuyuvn/fts_35/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuyuvn/fts_35/contents/{+path}","compare_url":"https://api.github.com/repos/yuyuvn/fts_35/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuyuvn/fts_35/merges","archive_url":"https://api.github.com/repos/yuyuvn/fts_35/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuyuvn/fts_35/downloads","issues_url":"https://api.github.com/repos/yuyuvn/fts_35/issues{/number}","pulls_url":"https://api.github.com/repos/yuyuvn/fts_35/pulls{/number}","milestones_url":"https://api.github.com/repos/yuyuvn/fts_35/milestones{/number}","notifications_url":"https://api.github.com/repos/yuyuvn/fts_35/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuyuvn/fts_35/labels{/name}","releases_url":"https://api.github.com/repos/yuyuvn/fts_35/releases{/id}","created_at":"2015-07-06T02:57:02Z","updated_at":"2015-07-06T02:09:12Z","pushed_at":"2015-07-06T04:12:11Z","git_url":"git://github.com/yuyuvn/fts_35.git","ssh_url":"git@github.com:yuyuvn/fts_35.git","clone_url":"https://github.com/yuyuvn/fts_35.git","svn_url":"https://github.com/yuyuvn/fts_35","homepage":null,"size":0,"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":"117c8ddbfbc2fea59e73498a5c2da801fd17cbd4","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":38592587,"name":"fts_35","full_name":"framgia/fts_35","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_35","description":"Framgia Test System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fts_35","forks_url":"https://api.github.com/repos/framgia/fts_35/forks","keys_url":"https://api.github.com/repos/framgia/fts_35/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fts_35/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fts_35/teams","hooks_url":"https://api.github.com/repos/framgia/fts_35/hooks","issue_events_url":"https://api.github.com/repos/framgia/fts_35/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fts_35/events","assignees_url":"https://api.github.com/repos/framgia/fts_35/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fts_35/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fts_35/tags","blobs_url":"https://api.github.com/repos/framgia/fts_35/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fts_35/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fts_35/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fts_35/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fts_35/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fts_35/languages","stargazers_url":"https://api.github.com/repos/framgia/fts_35/stargazers","contributors_url":"https://api.github.com/repos/framgia/fts_35/contributors","subscribers_url":"https://api.github.com/repos/framgia/fts_35/subscribers","subscription_url":"https://api.github.com/repos/framgia/fts_35/subscription","commits_url":"https://api.github.com/repos/framgia/fts_35/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fts_35/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fts_35/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fts_35/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fts_35/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fts_35/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fts_35/merges","archive_url":"https://api.github.com/repos/framgia/fts_35/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fts_35/downloads","issues_url":"https://api.github.com/repos/framgia/fts_35/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fts_35/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fts_35/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fts_35/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fts_35/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fts_35/releases{/id}","created_at":"2015-07-06T02:09:12Z","updated_at":"2015-07-06T02:09:12Z","pushed_at":"2015-07-06T04:13:27Z","git_url":"git://github.com/framgia/fts_35.git","ssh_url":"git@github.com:framgia/fts_35.git","clone_url":"https://github.com/framgia/fts_35.git","svn_url":"https://github.com/framgia/fts_35","homepage":null,"size":0,"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/fts_35/pulls/1"},"html":{"href":"https://github.com/framgia/fts_35/pull/1"},"issue":{"href":"https://api.github.com/repos/framgia/fts_35/issues/1"},"comments":{"href":"https://api.github.com/repos/framgia/fts_35/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fts_35/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fts_35/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fts_35/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fts_35/statuses/a56922facbab28b242d141f69a9faaf20428046d"}}}}