{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_63/pulls/comments/72373965","id":72373965,"diff_hunk":"@@ -5,15 +5,26 @@\n   <div class=\"center\">\n     <%= link_to t(\"admin.createcourse\"), new_admin_course_path,\n       class: \"btn btn-primary btn-lg\" %>\n+    <div>\n+      <%= search_form_for [:admin, @search], \n+        class: \"form-inline\" do |f| %>\n+        <%= f.label :name_cont, t(\"search.search_user.label_name\") %>\n+        <%= f.text_field :name_cont, placeholder: t(\"search.search_subject.name\"),\n+            class: \"form-control search_select\" %>","path":"app/views/admin/courses/index.html.erb","position":9,"original_position":9,"commit_id":"194110f43545ff0c3c0da1fa7d673bb10227265e","original_commit_id":"194110f43545ff0c3c0da1fa7d673bb10227265e","user":{"login":"duccm94","id":8945530,"avatar_url":"https://avatars.githubusercontent.com/u/8945530?v=3","gravatar_id":"","url":"https://api.github.com/users/duccm94","html_url":"https://github.com/duccm94","followers_url":"https://api.github.com/users/duccm94/followers","following_url":"https://api.github.com/users/duccm94/following{/other_user}","gists_url":"https://api.github.com/users/duccm94/gists{/gist_id}","starred_url":"https://api.github.com/users/duccm94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duccm94/subscriptions","organizations_url":"https://api.github.com/users/duccm94/orgs","repos_url":"https://api.github.com/users/duccm94/repos","events_url":"https://api.github.com/users/duccm94/events{/privacy}","received_events_url":"https://api.github.com/users/duccm94/received_events","type":"User","site_admin":false},"body":"indent","created_at":"2016-07-27T03:00:24Z","updated_at":"2016-07-27T03:00:24Z","html_url":"https://github.com/framgia/tms_63/pull/28#discussion_r72373965","pull_request_url":"https://api.github.com/repos/framgia/tms_63/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_63/pulls/comments/72373965"},"html":{"href":"https://github.com/framgia/tms_63/pull/28#discussion_r72373965"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_63/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_63/pulls/28","id":78955473,"html_url":"https://github.com/framgia/tms_63/pull/28","diff_url":"https://github.com/framgia/tms_63/pull/28.diff","patch_url":"https://github.com/framgia/tms_63/pull/28.patch","issue_url":"https://api.github.com/repos/framgia/tms_63/issues/28","number":28,"state":"open","locked":false,"title":"finish using gem ransack search, filter","user":{"login":"toxingau","id":14874349,"avatar_url":"https://avatars.githubusercontent.com/u/14874349?v=3","gravatar_id":"","url":"https://api.github.com/users/toxingau","html_url":"https://github.com/toxingau","followers_url":"https://api.github.com/users/toxingau/followers","following_url":"https://api.github.com/users/toxingau/following{/other_user}","gists_url":"https://api.github.com/users/toxingau/gists{/gist_id}","starred_url":"https://api.github.com/users/toxingau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toxingau/subscriptions","organizations_url":"https://api.github.com/users/toxingau/orgs","repos_url":"https://api.github.com/users/toxingau/repos","events_url":"https://api.github.com/users/toxingau/events{/privacy}","received_events_url":"https://api.github.com/users/toxingau/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-27T02:17:45Z","updated_at":"2016-07-27T03:00:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e269043380f750930626d41fbd678b9025d59c1d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_63/pulls/28/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_63/pulls/28/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_63/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_63/issues/28/comments","statuses_url":"https://api.github.com/repos/framgia/tms_63/statuses/194110f43545ff0c3c0da1fa7d673bb10227265e","head":{"label":"toxingau:Search-using-ransack","ref":"Search-using-ransack","sha":"194110f43545ff0c3c0da1fa7d673bb10227265e","user":{"login":"toxingau","id":14874349,"avatar_url":"https://avatars.githubusercontent.com/u/14874349?v=3","gravatar_id":"","url":"https://api.github.com/users/toxingau","html_url":"https://github.com/toxingau","followers_url":"https://api.github.com/users/toxingau/followers","following_url":"https://api.github.com/users/toxingau/following{/other_user}","gists_url":"https://api.github.com/users/toxingau/gists{/gist_id}","starred_url":"https://api.github.com/users/toxingau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toxingau/subscriptions","organizations_url":"https://api.github.com/users/toxingau/orgs","repos_url":"https://api.github.com/users/toxingau/repos","events_url":"https://api.github.com/users/toxingau/events{/privacy}","received_events_url":"https://api.github.com/users/toxingau/received_events","type":"User","site_admin":false},"repo":{"id":63228016,"name":"tms_63","full_name":"toxingau/tms_63","owner":{"login":"toxingau","id":14874349,"avatar_url":"https://avatars.githubusercontent.com/u/14874349?v=3","gravatar_id":"","url":"https://api.github.com/users/toxingau","html_url":"https://github.com/toxingau","followers_url":"https://api.github.com/users/toxingau/followers","following_url":"https://api.github.com/users/toxingau/following{/other_user}","gists_url":"https://api.github.com/users/toxingau/gists{/gist_id}","starred_url":"https://api.github.com/users/toxingau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toxingau/subscriptions","organizations_url":"https://api.github.com/users/toxingau/orgs","repos_url":"https://api.github.com/users/toxingau/repos","events_url":"https://api.github.com/users/toxingau/events{/privacy}","received_events_url":"https://api.github.com/users/toxingau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toxingau/tms_63","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/toxingau/tms_63","forks_url":"https://api.github.com/repos/toxingau/tms_63/forks","keys_url":"https://api.github.com/repos/toxingau/tms_63/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toxingau/tms_63/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toxingau/tms_63/teams","hooks_url":"https://api.github.com/repos/toxingau/tms_63/hooks","issue_events_url":"https://api.github.com/repos/toxingau/tms_63/issues/events{/number}","events_url":"https://api.github.com/repos/toxingau/tms_63/events","assignees_url":"https://api.github.com/repos/toxingau/tms_63/assignees{/user}","branches_url":"https://api.github.com/repos/toxingau/tms_63/branches{/branch}","tags_url":"https://api.github.com/repos/toxingau/tms_63/tags","blobs_url":"https://api.github.com/repos/toxingau/tms_63/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toxingau/tms_63/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toxingau/tms_63/git/refs{/sha}","trees_url":"https://api.github.com/repos/toxingau/tms_63/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toxingau/tms_63/statuses/{sha}","languages_url":"https://api.github.com/repos/toxingau/tms_63/languages","stargazers_url":"https://api.github.com/repos/toxingau/tms_63/stargazers","contributors_url":"https://api.github.com/repos/toxingau/tms_63/contributors","subscribers_url":"https://api.github.com/repos/toxingau/tms_63/subscribers","subscription_url":"https://api.github.com/repos/toxingau/tms_63/subscription","commits_url":"https://api.github.com/repos/toxingau/tms_63/commits{/sha}","git_commits_url":"https://api.github.com/repos/toxingau/tms_63/git/commits{/sha}","comments_url":"https://api.github.com/repos/toxingau/tms_63/comments{/number}","issue_comment_url":"https://api.github.com/repos/toxingau/tms_63/issues/comments{/number}","contents_url":"https://api.github.com/repos/toxingau/tms_63/contents/{+path}","compare_url":"https://api.github.com/repos/toxingau/tms_63/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toxingau/tms_63/merges","archive_url":"https://api.github.com/repos/toxingau/tms_63/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toxingau/tms_63/downloads","issues_url":"https://api.github.com/repos/toxingau/tms_63/issues{/number}","pulls_url":"https://api.github.com/repos/toxingau/tms_63/pulls{/number}","milestones_url":"https://api.github.com/repos/toxingau/tms_63/milestones{/number}","notifications_url":"https://api.github.com/repos/toxingau/tms_63/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toxingau/tms_63/labels{/name}","releases_url":"https://api.github.com/repos/toxingau/tms_63/releases{/id}","deployments_url":"https://api.github.com/repos/toxingau/tms_63/deployments","created_at":"2016-07-13T08:18:50Z","updated_at":"2016-07-13T01:34:54Z","pushed_at":"2016-07-27T02:58:56Z","git_url":"git://github.com/toxingau/tms_63.git","ssh_url":"git@github.com:toxingau/tms_63.git","clone_url":"https://github.com/toxingau/tms_63.git","svn_url":"https://github.com/toxingau/tms_63","homepage":null,"size":135,"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":"d4745adcec5edd9abcbf334984f498feeba0382a","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":63204455,"name":"tms_63","full_name":"framgia/tms_63","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/tms_63","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_63","forks_url":"https://api.github.com/repos/framgia/tms_63/forks","keys_url":"https://api.github.com/repos/framgia/tms_63/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_63/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_63/teams","hooks_url":"https://api.github.com/repos/framgia/tms_63/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_63/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_63/events","assignees_url":"https://api.github.com/repos/framgia/tms_63/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_63/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_63/tags","blobs_url":"https://api.github.com/repos/framgia/tms_63/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_63/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_63/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_63/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_63/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_63/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_63/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_63/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_63/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_63/subscription","commits_url":"https://api.github.com/repos/framgia/tms_63/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_63/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_63/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_63/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_63/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_63/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_63/merges","archive_url":"https://api.github.com/repos/framgia/tms_63/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_63/downloads","issues_url":"https://api.github.com/repos/framgia/tms_63/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_63/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_63/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_63/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_63/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_63/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/tms_63/deployments","created_at":"2016-07-13T01:34:54Z","updated_at":"2016-07-13T01:34:54Z","pushed_at":"2016-07-27T02:58:57Z","git_url":"git://github.com/framgia/tms_63.git","ssh_url":"git@github.com:framgia/tms_63.git","clone_url":"https://github.com/framgia/tms_63.git","svn_url":"https://github.com/framgia/tms_63","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_63/pulls/28"},"html":{"href":"https://github.com/framgia/tms_63/pull/28"},"issue":{"href":"https://api.github.com/repos/framgia/tms_63/issues/28"},"comments":{"href":"https://api.github.com/repos/framgia/tms_63/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_63/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_63/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_63/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_63/statuses/194110f43545ff0c3c0da1fa7d673bb10227265e"}}}}
{"actor":{"display_login":"duccm94"}}