{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_80/pulls/comments/43592067","id":43592067,"diff_hunk":"@@ -10,4 +10,6 @@ class Word < ActiveRecord::Base\n   scope :no_learn, ->user_id{where(\"id not in (select word_id from lesson_words where\n     lesson_id in (select id from lessons where user_id = #{user_id}))\")}\n \n+  accepts_nested_attributes_for :answers, allow_destroy: true\n+","path":"app/models/word.rb","position":5,"original_position":5,"commit_id":"bee3f1ca1488948f2d540eaf5863cda1f28434e9","original_commit_id":"bee3f1ca1488948f2d540eaf5863cda1f28434e9","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"body":"bỏ dòng này đi","created_at":"2015-11-02T01:32:45Z","updated_at":"2015-11-02T01:32:45Z","html_url":"https://github.com/framgia/fels_80/pull/11#discussion_r43592067","pull_request_url":"https://api.github.com/repos/framgia/fels_80/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_80/pulls/comments/43592067"},"html":{"href":"https://github.com/framgia/fels_80/pull/11#discussion_r43592067"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_80/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_80/pulls/11","id":49387111,"html_url":"https://github.com/framgia/fels_80/pull/11","diff_url":"https://github.com/framgia/fels_80/pull/11.diff","patch_url":"https://github.com/framgia/fels_80/pull/11.patch","issue_url":"https://api.github.com/repos/framgia/fels_80/issues/11","number":11,"state":"open","locked":false,"title":"Create Lesson and Result","user":{"login":"duynq","id":9071758,"avatar_url":"https://avatars.githubusercontent.com/u/9071758?v=3","gravatar_id":"","url":"https://api.github.com/users/duynq","html_url":"https://github.com/duynq","followers_url":"https://api.github.com/users/duynq/followers","following_url":"https://api.github.com/users/duynq/following{/other_user}","gists_url":"https://api.github.com/users/duynq/gists{/gist_id}","starred_url":"https://api.github.com/users/duynq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duynq/subscriptions","organizations_url":"https://api.github.com/users/duynq/orgs","repos_url":"https://api.github.com/users/duynq/repos","events_url":"https://api.github.com/users/duynq/events{/privacy}","received_events_url":"https://api.github.com/users/duynq/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-02T01:18:07Z","updated_at":"2015-11-02T01:32:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b97468102ab903073fe3ce493b360f2385a21eaa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_80/pulls/11/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_80/pulls/11/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_80/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_80/issues/11/comments","statuses_url":"https://api.github.com/repos/framgia/fels_80/statuses/bee3f1ca1488948f2d540eaf5863cda1f28434e9","head":{"label":"duynq:choose_the_lesson","ref":"choose_the_lesson","sha":"bee3f1ca1488948f2d540eaf5863cda1f28434e9","user":{"login":"duynq","id":9071758,"avatar_url":"https://avatars.githubusercontent.com/u/9071758?v=3","gravatar_id":"","url":"https://api.github.com/users/duynq","html_url":"https://github.com/duynq","followers_url":"https://api.github.com/users/duynq/followers","following_url":"https://api.github.com/users/duynq/following{/other_user}","gists_url":"https://api.github.com/users/duynq/gists{/gist_id}","starred_url":"https://api.github.com/users/duynq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duynq/subscriptions","organizations_url":"https://api.github.com/users/duynq/orgs","repos_url":"https://api.github.com/users/duynq/repos","events_url":"https://api.github.com/users/duynq/events{/privacy}","received_events_url":"https://api.github.com/users/duynq/received_events","type":"User","site_admin":false},"repo":{"id":44361627,"name":"fels_80","full_name":"duynq/fels_80","owner":{"login":"duynq","id":9071758,"avatar_url":"https://avatars.githubusercontent.com/u/9071758?v=3","gravatar_id":"","url":"https://api.github.com/users/duynq","html_url":"https://github.com/duynq","followers_url":"https://api.github.com/users/duynq/followers","following_url":"https://api.github.com/users/duynq/following{/other_user}","gists_url":"https://api.github.com/users/duynq/gists{/gist_id}","starred_url":"https://api.github.com/users/duynq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duynq/subscriptions","organizations_url":"https://api.github.com/users/duynq/orgs","repos_url":"https://api.github.com/users/duynq/repos","events_url":"https://api.github.com/users/duynq/events{/privacy}","received_events_url":"https://api.github.com/users/duynq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/duynq/fels_80","description":"Framgia E-Learning System (training)","fork":true,"url":"https://api.github.com/repos/duynq/fels_80","forks_url":"https://api.github.com/repos/duynq/fels_80/forks","keys_url":"https://api.github.com/repos/duynq/fels_80/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duynq/fels_80/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duynq/fels_80/teams","hooks_url":"https://api.github.com/repos/duynq/fels_80/hooks","issue_events_url":"https://api.github.com/repos/duynq/fels_80/issues/events{/number}","events_url":"https://api.github.com/repos/duynq/fels_80/events","assignees_url":"https://api.github.com/repos/duynq/fels_80/assignees{/user}","branches_url":"https://api.github.com/repos/duynq/fels_80/branches{/branch}","tags_url":"https://api.github.com/repos/duynq/fels_80/tags","blobs_url":"https://api.github.com/repos/duynq/fels_80/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duynq/fels_80/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duynq/fels_80/git/refs{/sha}","trees_url":"https://api.github.com/repos/duynq/fels_80/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duynq/fels_80/statuses/{sha}","languages_url":"https://api.github.com/repos/duynq/fels_80/languages","stargazers_url":"https://api.github.com/repos/duynq/fels_80/stargazers","contributors_url":"https://api.github.com/repos/duynq/fels_80/contributors","subscribers_url":"https://api.github.com/repos/duynq/fels_80/subscribers","subscription_url":"https://api.github.com/repos/duynq/fels_80/subscription","commits_url":"https://api.github.com/repos/duynq/fels_80/commits{/sha}","git_commits_url":"https://api.github.com/repos/duynq/fels_80/git/commits{/sha}","comments_url":"https://api.github.com/repos/duynq/fels_80/comments{/number}","issue_comment_url":"https://api.github.com/repos/duynq/fels_80/issues/comments{/number}","contents_url":"https://api.github.com/repos/duynq/fels_80/contents/{+path}","compare_url":"https://api.github.com/repos/duynq/fels_80/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duynq/fels_80/merges","archive_url":"https://api.github.com/repos/duynq/fels_80/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duynq/fels_80/downloads","issues_url":"https://api.github.com/repos/duynq/fels_80/issues{/number}","pulls_url":"https://api.github.com/repos/duynq/fels_80/pulls{/number}","milestones_url":"https://api.github.com/repos/duynq/fels_80/milestones{/number}","notifications_url":"https://api.github.com/repos/duynq/fels_80/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duynq/fels_80/labels{/name}","releases_url":"https://api.github.com/repos/duynq/fels_80/releases{/id}","created_at":"2015-10-16T04:08:47Z","updated_at":"2015-10-14T10:01:20Z","pushed_at":"2015-11-02T01:15:45Z","git_url":"git://github.com/duynq/fels_80.git","ssh_url":"git@github.com:duynq/fels_80.git","clone_url":"https://github.com/duynq/fels_80.git","svn_url":"https://github.com/duynq/fels_80","homepage":null,"size":196,"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":"d82c7f34a20b41fdab539285b8d8efbd7c526cf9","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":44239413,"name":"fels_80","full_name":"framgia/fels_80","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/fels_80","description":"Framgia E-Learning System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_80","forks_url":"https://api.github.com/repos/framgia/fels_80/forks","keys_url":"https://api.github.com/repos/framgia/fels_80/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_80/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_80/teams","hooks_url":"https://api.github.com/repos/framgia/fels_80/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_80/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_80/events","assignees_url":"https://api.github.com/repos/framgia/fels_80/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_80/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_80/tags","blobs_url":"https://api.github.com/repos/framgia/fels_80/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_80/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_80/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_80/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_80/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_80/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_80/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_80/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_80/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_80/subscription","commits_url":"https://api.github.com/repos/framgia/fels_80/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_80/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_80/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_80/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_80/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_80/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_80/merges","archive_url":"https://api.github.com/repos/framgia/fels_80/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_80/downloads","issues_url":"https://api.github.com/repos/framgia/fels_80/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_80/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_80/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_80/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_80/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_80/releases{/id}","created_at":"2015-10-14T10:01:20Z","updated_at":"2015-10-14T10:01:20Z","pushed_at":"2015-11-02T01:18:09Z","git_url":"git://github.com/framgia/fels_80.git","ssh_url":"git@github.com:framgia/fels_80.git","clone_url":"https://github.com/framgia/fels_80.git","svn_url":"https://github.com/framgia/fels_80","homepage":null,"size":438,"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":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_80/pulls/11"},"html":{"href":"https://github.com/framgia/fels_80/pull/11"},"issue":{"href":"https://api.github.com/repos/framgia/fels_80/issues/11"},"comments":{"href":"https://api.github.com/repos/framgia/fels_80/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_80/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_80/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_80/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_80/statuses/bee3f1ca1488948f2d540eaf5863cda1f28434e9"}}}}