{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fbt_25/pulls/comments/191600297","pull_request_review_id":124202087,"id":191600297,"diff_hunk":"@@ -0,0 +1,9 @@\n+# frozen_string_literal: true\n+\n+class Tour < ApplicationRecord\n+  has_many :book_tours, dependent: :destroy\n+  has_many :comments, dependent: :destroy\n+  has_many :ratings, dependent: :destroy\n+  has_many :images, dependent: :destroy\n+  enum status: {Domestic: 0, Foreign: 1}","path":"app/models/tour.rb","position":8,"original_position":8,"commit_id":"33b1704d2878bea27f1d86263e21293135b3103e","original_commit_id":"33b1704d2878bea27f1d86263e21293135b3103e","user":{"login":"VuThiTranVan","id":27009821,"avatar_url":"https://avatars3.githubusercontent.com/u/27009821?v=4","gravatar_id":"","url":"https://api.github.com/users/VuThiTranVan","html_url":"https://github.com/VuThiTranVan","followers_url":"https://api.github.com/users/VuThiTranVan/followers","following_url":"https://api.github.com/users/VuThiTranVan/following{/other_user}","gists_url":"https://api.github.com/users/VuThiTranVan/gists{/gist_id}","starred_url":"https://api.github.com/users/VuThiTranVan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VuThiTranVan/subscriptions","organizations_url":"https://api.github.com/users/VuThiTranVan/orgs","repos_url":"https://api.github.com/users/VuThiTranVan/repos","events_url":"https://api.github.com/users/VuThiTranVan/events{/privacy}","received_events_url":"https://api.github.com/users/VuThiTranVan/received_events","type":"User","site_admin":false},"body":"Sửa key của enum lại em. Ko viết hoa nhed","created_at":"2018-05-29T23:01:50Z","updated_at":"2018-05-29T23:03:41Z","html_url":"https://github.com/framgia/fbt_25/pull/3#discussion_r191600297","pull_request_url":"https://api.github.com/repos/framgia/fbt_25/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/framgia/fbt_25/pulls/comments/191600297"},"html":{"href":"https://github.com/framgia/fbt_25/pull/3#discussion_r191600297"},"pull_request":{"href":"https://api.github.com/repos/framgia/fbt_25/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fbt_25/pulls/3","id":191013216,"html_url":"https://github.com/framgia/fbt_25/pull/3","diff_url":"https://github.com/framgia/fbt_25/pull/3.diff","patch_url":"https://github.com/framgia/fbt_25/pull/3.patch","issue_url":"https://api.github.com/repos/framgia/fbt_25/issues/3","number":3,"state":"open","locked":false,"title":"init model","user":{"login":"duychinh1995","id":37787299,"avatar_url":"https://avatars3.githubusercontent.com/u/37787299?v=4","gravatar_id":"","url":"https://api.github.com/users/duychinh1995","html_url":"https://github.com/duychinh1995","followers_url":"https://api.github.com/users/duychinh1995/followers","following_url":"https://api.github.com/users/duychinh1995/following{/other_user}","gists_url":"https://api.github.com/users/duychinh1995/gists{/gist_id}","starred_url":"https://api.github.com/users/duychinh1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duychinh1995/subscriptions","organizations_url":"https://api.github.com/users/duychinh1995/orgs","repos_url":"https://api.github.com/users/duychinh1995/repos","events_url":"https://api.github.com/users/duychinh1995/events{/privacy}","received_events_url":"https://api.github.com/users/duychinh1995/received_events","type":"User","site_admin":false},"body":"![screen shot 2018-05-29 at 08 03 25](https://user-images.githubusercontent.com/37787299/40633127-da05ef30-6317-11e8-85c0-d5a993780ad3.png)\r\n","created_at":"2018-05-29T01:11:21Z","updated_at":"2018-05-29T23:03:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e0566c9946d3fbdf32e1bb02b1984148d64a897","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fbt_25/pulls/3/commits","review_comments_url":"https://api.github.com/repos/framgia/fbt_25/pulls/3/comments","review_comment_url":"https://api.github.com/repos/framgia/fbt_25/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fbt_25/issues/3/comments","statuses_url":"https://api.github.com/repos/framgia/fbt_25/statuses/33b1704d2878bea27f1d86263e21293135b3103e","head":{"label":"duychinh1995:init_project","ref":"init_project","sha":"33b1704d2878bea27f1d86263e21293135b3103e","user":{"login":"duychinh1995","id":37787299,"avatar_url":"https://avatars3.githubusercontent.com/u/37787299?v=4","gravatar_id":"","url":"https://api.github.com/users/duychinh1995","html_url":"https://github.com/duychinh1995","followers_url":"https://api.github.com/users/duychinh1995/followers","following_url":"https://api.github.com/users/duychinh1995/following{/other_user}","gists_url":"https://api.github.com/users/duychinh1995/gists{/gist_id}","starred_url":"https://api.github.com/users/duychinh1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duychinh1995/subscriptions","organizations_url":"https://api.github.com/users/duychinh1995/orgs","repos_url":"https://api.github.com/users/duychinh1995/repos","events_url":"https://api.github.com/users/duychinh1995/events{/privacy}","received_events_url":"https://api.github.com/users/duychinh1995/received_events","type":"User","site_admin":false},"repo":{"id":135101015,"name":"fbt_25","full_name":"duychinh1995/fbt_25","owner":{"login":"duychinh1995","id":37787299,"avatar_url":"https://avatars3.githubusercontent.com/u/37787299?v=4","gravatar_id":"","url":"https://api.github.com/users/duychinh1995","html_url":"https://github.com/duychinh1995","followers_url":"https://api.github.com/users/duychinh1995/followers","following_url":"https://api.github.com/users/duychinh1995/following{/other_user}","gists_url":"https://api.github.com/users/duychinh1995/gists{/gist_id}","starred_url":"https://api.github.com/users/duychinh1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duychinh1995/subscriptions","organizations_url":"https://api.github.com/users/duychinh1995/orgs","repos_url":"https://api.github.com/users/duychinh1995/repos","events_url":"https://api.github.com/users/duychinh1995/events{/privacy}","received_events_url":"https://api.github.com/users/duychinh1995/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/duychinh1995/fbt_25","description":null,"fork":true,"url":"https://api.github.com/repos/duychinh1995/fbt_25","forks_url":"https://api.github.com/repos/duychinh1995/fbt_25/forks","keys_url":"https://api.github.com/repos/duychinh1995/fbt_25/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duychinh1995/fbt_25/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duychinh1995/fbt_25/teams","hooks_url":"https://api.github.com/repos/duychinh1995/fbt_25/hooks","issue_events_url":"https://api.github.com/repos/duychinh1995/fbt_25/issues/events{/number}","events_url":"https://api.github.com/repos/duychinh1995/fbt_25/events","assignees_url":"https://api.github.com/repos/duychinh1995/fbt_25/assignees{/user}","branches_url":"https://api.github.com/repos/duychinh1995/fbt_25/branches{/branch}","tags_url":"https://api.github.com/repos/duychinh1995/fbt_25/tags","blobs_url":"https://api.github.com/repos/duychinh1995/fbt_25/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duychinh1995/fbt_25/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duychinh1995/fbt_25/git/refs{/sha}","trees_url":"https://api.github.com/repos/duychinh1995/fbt_25/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duychinh1995/fbt_25/statuses/{sha}","languages_url":"https://api.github.com/repos/duychinh1995/fbt_25/languages","stargazers_url":"https://api.github.com/repos/duychinh1995/fbt_25/stargazers","contributors_url":"https://api.github.com/repos/duychinh1995/fbt_25/contributors","subscribers_url":"https://api.github.com/repos/duychinh1995/fbt_25/subscribers","subscription_url":"https://api.github.com/repos/duychinh1995/fbt_25/subscription","commits_url":"https://api.github.com/repos/duychinh1995/fbt_25/commits{/sha}","git_commits_url":"https://api.github.com/repos/duychinh1995/fbt_25/git/commits{/sha}","comments_url":"https://api.github.com/repos/duychinh1995/fbt_25/comments{/number}","issue_comment_url":"https://api.github.com/repos/duychinh1995/fbt_25/issues/comments{/number}","contents_url":"https://api.github.com/repos/duychinh1995/fbt_25/contents/{+path}","compare_url":"https://api.github.com/repos/duychinh1995/fbt_25/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duychinh1995/fbt_25/merges","archive_url":"https://api.github.com/repos/duychinh1995/fbt_25/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duychinh1995/fbt_25/downloads","issues_url":"https://api.github.com/repos/duychinh1995/fbt_25/issues{/number}","pulls_url":"https://api.github.com/repos/duychinh1995/fbt_25/pulls{/number}","milestones_url":"https://api.github.com/repos/duychinh1995/fbt_25/milestones{/number}","notifications_url":"https://api.github.com/repos/duychinh1995/fbt_25/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duychinh1995/fbt_25/labels{/name}","releases_url":"https://api.github.com/repos/duychinh1995/fbt_25/releases{/id}","deployments_url":"https://api.github.com/repos/duychinh1995/fbt_25/deployments","created_at":"2018-05-28T02:37:58Z","updated_at":"2018-05-28T02:38:00Z","pushed_at":"2018-05-29T08:32:26Z","git_url":"git://github.com/duychinh1995/fbt_25.git","ssh_url":"git@github.com:duychinh1995/fbt_25.git","clone_url":"https://github.com/duychinh1995/fbt_25.git","svn_url":"https://github.com/duychinh1995/fbt_25","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:master","ref":"master","sha":"b60d66bc1dde5636e81cd0dc36709b32b383b15b","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":135094205,"name":"fbt_25","full_name":"framgia/fbt_25","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/fbt_25","description":null,"fork":false,"url":"https://api.github.com/repos/framgia/fbt_25","forks_url":"https://api.github.com/repos/framgia/fbt_25/forks","keys_url":"https://api.github.com/repos/framgia/fbt_25/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fbt_25/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fbt_25/teams","hooks_url":"https://api.github.com/repos/framgia/fbt_25/hooks","issue_events_url":"https://api.github.com/repos/framgia/fbt_25/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fbt_25/events","assignees_url":"https://api.github.com/repos/framgia/fbt_25/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fbt_25/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fbt_25/tags","blobs_url":"https://api.github.com/repos/framgia/fbt_25/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fbt_25/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fbt_25/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fbt_25/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fbt_25/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fbt_25/languages","stargazers_url":"https://api.github.com/repos/framgia/fbt_25/stargazers","contributors_url":"https://api.github.com/repos/framgia/fbt_25/contributors","subscribers_url":"https://api.github.com/repos/framgia/fbt_25/subscribers","subscription_url":"https://api.github.com/repos/framgia/fbt_25/subscription","commits_url":"https://api.github.com/repos/framgia/fbt_25/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fbt_25/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fbt_25/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fbt_25/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fbt_25/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fbt_25/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fbt_25/merges","archive_url":"https://api.github.com/repos/framgia/fbt_25/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fbt_25/downloads","issues_url":"https://api.github.com/repos/framgia/fbt_25/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fbt_25/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fbt_25/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fbt_25/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fbt_25/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fbt_25/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fbt_25/deployments","created_at":"2018-05-28T01:11:25Z","updated_at":"2018-05-28T01:11:28Z","pushed_at":"2018-05-29T08:32:28Z","git_url":"git://github.com/framgia/fbt_25.git","ssh_url":"git@github.com:framgia/fbt_25.git","clone_url":"https://github.com/framgia/fbt_25.git","svn_url":"https://github.com/framgia/fbt_25","homepage":null,"size":32,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fbt_25/pulls/3"},"html":{"href":"https://github.com/framgia/fbt_25/pull/3"},"issue":{"href":"https://api.github.com/repos/framgia/fbt_25/issues/3"},"comments":{"href":"https://api.github.com/repos/framgia/fbt_25/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fbt_25/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fbt_25/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fbt_25/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fbt_25/statuses/33b1704d2878bea27f1d86263e21293135b3103e"}},"author_association":"NONE"}}
{"actor":{"display_login":"VuThiTranVan"}}