{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/crb/pulls/comments/34239557","id":34239557,"diff_hunk":"@@ -90,4 +91,16 @@ def destroy\n   def schedule_params\n     params.require(:schedule).permit :title, :start_time, :finish_time, :description, :room_id, :announced_before, member_ids: []\n   end\n+\n+  def decode_and_assign_value\n+    plain_url = Base64.decode64 params[:data]","path":"app/controllers/schedules_controller.rb","position":14,"original_position":14,"commit_id":"38ccf3eb5ae6dd165738965e1c4d1a16fd0cf372","original_commit_id":"38ccf3eb5ae6dd165738965e1c4d1a16fd0cf372","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":"```\r\n+    data = Base64.decode64 params[:data]\r\n+    data = JSON.parse data\r\n```","created_at":"2015-07-09T09:50:58Z","updated_at":"2015-07-09T09:50:58Z","html_url":"https://github.com/framgia/crb/pull/266#discussion_r34239557","pull_request_url":"https://api.github.com/repos/framgia/crb/pulls/266","_links":{"self":{"href":"https://api.github.com/repos/framgia/crb/pulls/comments/34239557"},"html":{"href":"https://github.com/framgia/crb/pull/266#discussion_r34239557"},"pull_request":{"href":"https://api.github.com/repos/framgia/crb/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/crb/pulls/266","id":39551342,"html_url":"https://github.com/framgia/crb/pull/266","diff_url":"https://github.com/framgia/crb/pull/266.diff","patch_url":"https://github.com/framgia/crb/pull/266.patch","issue_url":"https://api.github.com/repos/framgia/crb/issues/266","number":266,"state":"open","locked":false,"title":"Pass title and time to new schedule","user":{"login":"phornsopheak","id":11750991,"avatar_url":"https://avatars.githubusercontent.com/u/11750991?v=3","gravatar_id":"","url":"https://api.github.com/users/phornsopheak","html_url":"https://github.com/phornsopheak","followers_url":"https://api.github.com/users/phornsopheak/followers","following_url":"https://api.github.com/users/phornsopheak/following{/other_user}","gists_url":"https://api.github.com/users/phornsopheak/gists{/gist_id}","starred_url":"https://api.github.com/users/phornsopheak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phornsopheak/subscriptions","organizations_url":"https://api.github.com/users/phornsopheak/orgs","repos_url":"https://api.github.com/users/phornsopheak/repos","events_url":"https://api.github.com/users/phornsopheak/events{/privacy}","received_events_url":"https://api.github.com/users/phornsopheak/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-09T06:20:19Z","updated_at":"2015-07-09T09:50:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fe6595d4ff454532f1742beb8aafac0bf44cf84","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/crb/pulls/266/commits","review_comments_url":"https://api.github.com/repos/framgia/crb/pulls/266/comments","review_comment_url":"https://api.github.com/repos/framgia/crb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/crb/issues/266/comments","statuses_url":"https://api.github.com/repos/framgia/crb/statuses/38ccf3eb5ae6dd165738965e1c4d1a16fd0cf372","head":{"label":"phornsopheak:quick_caledar_title","ref":"quick_caledar_title","sha":"38ccf3eb5ae6dd165738965e1c4d1a16fd0cf372","user":{"login":"phornsopheak","id":11750991,"avatar_url":"https://avatars.githubusercontent.com/u/11750991?v=3","gravatar_id":"","url":"https://api.github.com/users/phornsopheak","html_url":"https://github.com/phornsopheak","followers_url":"https://api.github.com/users/phornsopheak/followers","following_url":"https://api.github.com/users/phornsopheak/following{/other_user}","gists_url":"https://api.github.com/users/phornsopheak/gists{/gist_id}","starred_url":"https://api.github.com/users/phornsopheak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phornsopheak/subscriptions","organizations_url":"https://api.github.com/users/phornsopheak/orgs","repos_url":"https://api.github.com/users/phornsopheak/repos","events_url":"https://api.github.com/users/phornsopheak/events{/privacy}","received_events_url":"https://api.github.com/users/phornsopheak/received_events","type":"User","site_admin":false},"repo":{"id":38282705,"name":"crb","full_name":"phornsopheak/crb","owner":{"login":"phornsopheak","id":11750991,"avatar_url":"https://avatars.githubusercontent.com/u/11750991?v=3","gravatar_id":"","url":"https://api.github.com/users/phornsopheak","html_url":"https://github.com/phornsopheak","followers_url":"https://api.github.com/users/phornsopheak/followers","following_url":"https://api.github.com/users/phornsopheak/following{/other_user}","gists_url":"https://api.github.com/users/phornsopheak/gists{/gist_id}","starred_url":"https://api.github.com/users/phornsopheak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phornsopheak/subscriptions","organizations_url":"https://api.github.com/users/phornsopheak/orgs","repos_url":"https://api.github.com/users/phornsopheak/repos","events_url":"https://api.github.com/users/phornsopheak/events{/privacy}","received_events_url":"https://api.github.com/users/phornsopheak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phornsopheak/crb","description":"Conference Room Booking System","fork":true,"url":"https://api.github.com/repos/phornsopheak/crb","forks_url":"https://api.github.com/repos/phornsopheak/crb/forks","keys_url":"https://api.github.com/repos/phornsopheak/crb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phornsopheak/crb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phornsopheak/crb/teams","hooks_url":"https://api.github.com/repos/phornsopheak/crb/hooks","issue_events_url":"https://api.github.com/repos/phornsopheak/crb/issues/events{/number}","events_url":"https://api.github.com/repos/phornsopheak/crb/events","assignees_url":"https://api.github.com/repos/phornsopheak/crb/assignees{/user}","branches_url":"https://api.github.com/repos/phornsopheak/crb/branches{/branch}","tags_url":"https://api.github.com/repos/phornsopheak/crb/tags","blobs_url":"https://api.github.com/repos/phornsopheak/crb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phornsopheak/crb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phornsopheak/crb/git/refs{/sha}","trees_url":"https://api.github.com/repos/phornsopheak/crb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phornsopheak/crb/statuses/{sha}","languages_url":"https://api.github.com/repos/phornsopheak/crb/languages","stargazers_url":"https://api.github.com/repos/phornsopheak/crb/stargazers","contributors_url":"https://api.github.com/repos/phornsopheak/crb/contributors","subscribers_url":"https://api.github.com/repos/phornsopheak/crb/subscribers","subscription_url":"https://api.github.com/repos/phornsopheak/crb/subscription","commits_url":"https://api.github.com/repos/phornsopheak/crb/commits{/sha}","git_commits_url":"https://api.github.com/repos/phornsopheak/crb/git/commits{/sha}","comments_url":"https://api.github.com/repos/phornsopheak/crb/comments{/number}","issue_comment_url":"https://api.github.com/repos/phornsopheak/crb/issues/comments{/number}","contents_url":"https://api.github.com/repos/phornsopheak/crb/contents/{+path}","compare_url":"https://api.github.com/repos/phornsopheak/crb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phornsopheak/crb/merges","archive_url":"https://api.github.com/repos/phornsopheak/crb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phornsopheak/crb/downloads","issues_url":"https://api.github.com/repos/phornsopheak/crb/issues{/number}","pulls_url":"https://api.github.com/repos/phornsopheak/crb/pulls{/number}","milestones_url":"https://api.github.com/repos/phornsopheak/crb/milestones{/number}","notifications_url":"https://api.github.com/repos/phornsopheak/crb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phornsopheak/crb/labels{/name}","releases_url":"https://api.github.com/repos/phornsopheak/crb/releases{/id}","created_at":"2015-06-30T02:20:10Z","updated_at":"2015-06-30T02:20:11Z","pushed_at":"2015-07-09T09:39:40Z","git_url":"git://github.com/phornsopheak/crb.git","ssh_url":"git@github.com:phornsopheak/crb.git","clone_url":"https://github.com/phornsopheak/crb.git","svn_url":"https://github.com/phornsopheak/crb","homepage":null,"size":1267,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"develop"}},"base":{"label":"framgia:develop","ref":"develop","sha":"7c7e8e505d484991fa8a0df5343218993a9b7903","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":33589755,"name":"crb","full_name":"framgia/crb","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/crb","description":"Conference Room Booking System","fork":false,"url":"https://api.github.com/repos/framgia/crb","forks_url":"https://api.github.com/repos/framgia/crb/forks","keys_url":"https://api.github.com/repos/framgia/crb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/crb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/crb/teams","hooks_url":"https://api.github.com/repos/framgia/crb/hooks","issue_events_url":"https://api.github.com/repos/framgia/crb/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/crb/events","assignees_url":"https://api.github.com/repos/framgia/crb/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/crb/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/crb/tags","blobs_url":"https://api.github.com/repos/framgia/crb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/crb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/crb/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/crb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/crb/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/crb/languages","stargazers_url":"https://api.github.com/repos/framgia/crb/stargazers","contributors_url":"https://api.github.com/repos/framgia/crb/contributors","subscribers_url":"https://api.github.com/repos/framgia/crb/subscribers","subscription_url":"https://api.github.com/repos/framgia/crb/subscription","commits_url":"https://api.github.com/repos/framgia/crb/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/crb/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/crb/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/crb/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/crb/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/crb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/crb/merges","archive_url":"https://api.github.com/repos/framgia/crb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/crb/downloads","issues_url":"https://api.github.com/repos/framgia/crb/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/crb/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/crb/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/crb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/crb/labels{/name}","releases_url":"https://api.github.com/repos/framgia/crb/releases{/id}","created_at":"2015-04-08T06:47:38Z","updated_at":"2015-06-16T13:58:40Z","pushed_at":"2015-07-09T09:50:49Z","git_url":"git://github.com/framgia/crb.git","ssh_url":"git@github.com:framgia/crb.git","clone_url":"https://github.com/framgia/crb.git","svn_url":"https://github.com/framgia/crb","homepage":null,"size":2900,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":13,"forks":17,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/crb/pulls/266"},"html":{"href":"https://github.com/framgia/crb/pull/266"},"issue":{"href":"https://api.github.com/repos/framgia/crb/issues/266"},"comments":{"href":"https://api.github.com/repos/framgia/crb/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/crb/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/crb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/crb/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/crb/statuses/38ccf3eb5ae6dd165738965e1c4d1a16fd0cf372"}}}}