{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/brs_18/pulls/comments/48677174","id":48677174,"diff_hunk":"@@ -1,18 +1,18 @@\n namespace :user_book do\n   namespace :create do\n     desc \"Create a UserBook\"\n-    task :specify, [:user_id, :book_id, :favourite_status, :study_status] =>\n+    task :specify, [:user_id, :book_id, :favourite, :status] =>\n       :environment do |t, args|\n       process_user_book_task args[:user_id], args[:book_id],\n-        args[:favourite_status], args[:study_status]\n+        args[:favourite], args[:status]\n     end\n   end\n end\n \n-def process_user_book_task user_id, book_id, favourite_status, study_status\n+def process_user_book_task user_id, book_id, favourite, status\n   begin\n-    obj = Like.create! user_id: user_id, book_id: book_id,\n-      favourite_status: favourite_status, study_status: study_status\n+    obj = UserBook.create! user_id: user_id, book_id: book_id,","path":"lib/tasks/user_book.rake","position":19,"original_position":19,"commit_id":"c8f914156929df82036e42bac195dae388447d38","original_commit_id":"c8f914156929df82036e42bac195dae388447d38","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"fabricator gem to fake data","created_at":"2016-01-01T10:51:32Z","updated_at":"2016-01-01T10:51:32Z","html_url":"https://github.com/framgia/brs_18/pull/25#discussion_r48677174","pull_request_url":"https://api.github.com/repos/framgia/brs_18/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_18/pulls/comments/48677174"},"html":{"href":"https://github.com/framgia/brs_18/pull/25#discussion_r48677174"},"pull_request":{"href":"https://api.github.com/repos/framgia/brs_18/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/brs_18/pulls/25","id":54889801,"html_url":"https://github.com/framgia/brs_18/pull/25","diff_url":"https://github.com/framgia/brs_18/pull/25.diff","patch_url":"https://github.com/framgia/brs_18/pull/25.patch","issue_url":"https://api.github.com/repos/framgia/brs_18/issues/25","number":25,"state":"open","locked":false,"title":"Display all users","user":{"login":"shakil-fg","id":14325309,"avatar_url":"https://avatars.githubusercontent.com/u/14325309?v=3","gravatar_id":"","url":"https://api.github.com/users/shakil-fg","html_url":"https://github.com/shakil-fg","followers_url":"https://api.github.com/users/shakil-fg/followers","following_url":"https://api.github.com/users/shakil-fg/following{/other_user}","gists_url":"https://api.github.com/users/shakil-fg/gists{/gist_id}","starred_url":"https://api.github.com/users/shakil-fg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakil-fg/subscriptions","organizations_url":"https://api.github.com/users/shakil-fg/orgs","repos_url":"https://api.github.com/users/shakil-fg/repos","events_url":"https://api.github.com/users/shakil-fg/events{/privacy}","received_events_url":"https://api.github.com/users/shakil-fg/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-01T10:33:53Z","updated_at":"2016-01-01T10:51:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b13b2c2e3ead9e956cd4e2e7a0de1fe7aed8a85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/brs_18/pulls/25/commits","review_comments_url":"https://api.github.com/repos/framgia/brs_18/pulls/25/comments","review_comment_url":"https://api.github.com/repos/framgia/brs_18/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/brs_18/issues/25/comments","statuses_url":"https://api.github.com/repos/framgia/brs_18/statuses/c8f914156929df82036e42bac195dae388447d38","head":{"label":"shakil-fg:50077_display_all_users","ref":"50077_display_all_users","sha":"c8f914156929df82036e42bac195dae388447d38","user":{"login":"shakil-fg","id":14325309,"avatar_url":"https://avatars.githubusercontent.com/u/14325309?v=3","gravatar_id":"","url":"https://api.github.com/users/shakil-fg","html_url":"https://github.com/shakil-fg","followers_url":"https://api.github.com/users/shakil-fg/followers","following_url":"https://api.github.com/users/shakil-fg/following{/other_user}","gists_url":"https://api.github.com/users/shakil-fg/gists{/gist_id}","starred_url":"https://api.github.com/users/shakil-fg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakil-fg/subscriptions","organizations_url":"https://api.github.com/users/shakil-fg/orgs","repos_url":"https://api.github.com/users/shakil-fg/repos","events_url":"https://api.github.com/users/shakil-fg/events{/privacy}","received_events_url":"https://api.github.com/users/shakil-fg/received_events","type":"User","site_admin":false},"repo":{"id":48795924,"name":"brs_18","full_name":"shakil-fg/brs_18","owner":{"login":"shakil-fg","id":14325309,"avatar_url":"https://avatars.githubusercontent.com/u/14325309?v=3","gravatar_id":"","url":"https://api.github.com/users/shakil-fg","html_url":"https://github.com/shakil-fg","followers_url":"https://api.github.com/users/shakil-fg/followers","following_url":"https://api.github.com/users/shakil-fg/following{/other_user}","gists_url":"https://api.github.com/users/shakil-fg/gists{/gist_id}","starred_url":"https://api.github.com/users/shakil-fg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakil-fg/subscriptions","organizations_url":"https://api.github.com/users/shakil-fg/orgs","repos_url":"https://api.github.com/users/shakil-fg/repos","events_url":"https://api.github.com/users/shakil-fg/events{/privacy}","received_events_url":"https://api.github.com/users/shakil-fg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shakil-fg/brs_18","description":"Book Reviewing System","fork":true,"url":"https://api.github.com/repos/shakil-fg/brs_18","forks_url":"https://api.github.com/repos/shakil-fg/brs_18/forks","keys_url":"https://api.github.com/repos/shakil-fg/brs_18/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shakil-fg/brs_18/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shakil-fg/brs_18/teams","hooks_url":"https://api.github.com/repos/shakil-fg/brs_18/hooks","issue_events_url":"https://api.github.com/repos/shakil-fg/brs_18/issues/events{/number}","events_url":"https://api.github.com/repos/shakil-fg/brs_18/events","assignees_url":"https://api.github.com/repos/shakil-fg/brs_18/assignees{/user}","branches_url":"https://api.github.com/repos/shakil-fg/brs_18/branches{/branch}","tags_url":"https://api.github.com/repos/shakil-fg/brs_18/tags","blobs_url":"https://api.github.com/repos/shakil-fg/brs_18/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shakil-fg/brs_18/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shakil-fg/brs_18/git/refs{/sha}","trees_url":"https://api.github.com/repos/shakil-fg/brs_18/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shakil-fg/brs_18/statuses/{sha}","languages_url":"https://api.github.com/repos/shakil-fg/brs_18/languages","stargazers_url":"https://api.github.com/repos/shakil-fg/brs_18/stargazers","contributors_url":"https://api.github.com/repos/shakil-fg/brs_18/contributors","subscribers_url":"https://api.github.com/repos/shakil-fg/brs_18/subscribers","subscription_url":"https://api.github.com/repos/shakil-fg/brs_18/subscription","commits_url":"https://api.github.com/repos/shakil-fg/brs_18/commits{/sha}","git_commits_url":"https://api.github.com/repos/shakil-fg/brs_18/git/commits{/sha}","comments_url":"https://api.github.com/repos/shakil-fg/brs_18/comments{/number}","issue_comment_url":"https://api.github.com/repos/shakil-fg/brs_18/issues/comments{/number}","contents_url":"https://api.github.com/repos/shakil-fg/brs_18/contents/{+path}","compare_url":"https://api.github.com/repos/shakil-fg/brs_18/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shakil-fg/brs_18/merges","archive_url":"https://api.github.com/repos/shakil-fg/brs_18/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shakil-fg/brs_18/downloads","issues_url":"https://api.github.com/repos/shakil-fg/brs_18/issues{/number}","pulls_url":"https://api.github.com/repos/shakil-fg/brs_18/pulls{/number}","milestones_url":"https://api.github.com/repos/shakil-fg/brs_18/milestones{/number}","notifications_url":"https://api.github.com/repos/shakil-fg/brs_18/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shakil-fg/brs_18/labels{/name}","releases_url":"https://api.github.com/repos/shakil-fg/brs_18/releases{/id}","created_at":"2015-12-30T10:36:20Z","updated_at":"2015-12-30T02:38:44Z","pushed_at":"2016-01-01T10:46:03Z","git_url":"git://github.com/shakil-fg/brs_18.git","ssh_url":"git@github.com:shakil-fg/brs_18.git","clone_url":"https://github.com/shakil-fg/brs_18.git","svn_url":"https://github.com/shakil-fg/brs_18","homepage":null,"size":88,"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":"d314d712386f4a349214a47ca9dc6c0ac5d879b1","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":48777558,"name":"brs_18","full_name":"framgia/brs_18","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/brs_18","description":"Book Reviewing System","fork":false,"url":"https://api.github.com/repos/framgia/brs_18","forks_url":"https://api.github.com/repos/framgia/brs_18/forks","keys_url":"https://api.github.com/repos/framgia/brs_18/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/brs_18/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/brs_18/teams","hooks_url":"https://api.github.com/repos/framgia/brs_18/hooks","issue_events_url":"https://api.github.com/repos/framgia/brs_18/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/brs_18/events","assignees_url":"https://api.github.com/repos/framgia/brs_18/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/brs_18/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/brs_18/tags","blobs_url":"https://api.github.com/repos/framgia/brs_18/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/brs_18/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/brs_18/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/brs_18/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/brs_18/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/brs_18/languages","stargazers_url":"https://api.github.com/repos/framgia/brs_18/stargazers","contributors_url":"https://api.github.com/repos/framgia/brs_18/contributors","subscribers_url":"https://api.github.com/repos/framgia/brs_18/subscribers","subscription_url":"https://api.github.com/repos/framgia/brs_18/subscription","commits_url":"https://api.github.com/repos/framgia/brs_18/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/brs_18/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/brs_18/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/brs_18/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/brs_18/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/brs_18/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/brs_18/merges","archive_url":"https://api.github.com/repos/framgia/brs_18/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/brs_18/downloads","issues_url":"https://api.github.com/repos/framgia/brs_18/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/brs_18/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/brs_18/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/brs_18/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/brs_18/labels{/name}","releases_url":"https://api.github.com/repos/framgia/brs_18/releases{/id}","created_at":"2015-12-30T02:38:44Z","updated_at":"2015-12-30T02:38:44Z","pushed_at":"2016-01-01T10:48:39Z","git_url":"git://github.com/framgia/brs_18.git","ssh_url":"git@github.com:framgia/brs_18.git","clone_url":"https://github.com/framgia/brs_18.git","svn_url":"https://github.com/framgia/brs_18","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/brs_18/pulls/25"},"html":{"href":"https://github.com/framgia/brs_18/pull/25"},"issue":{"href":"https://api.github.com/repos/framgia/brs_18/issues/25"},"comments":{"href":"https://api.github.com/repos/framgia/brs_18/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/brs_18/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/brs_18/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/brs_18/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/brs_18/statuses/c8f914156929df82036e42bac195dae388447d38"}}}}