{"action":"created","comment":{"url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/comments/71378468","id":71378468,"diff_hunk":"@@ -1,5 +1,34 @@\n class SongsController < ApplicationController\n   def index\n+    respond_to do |format|\n+      format.json do\n+        songs = Song.all\n+        total_songs = songs.count\n+\n+        if params[:sSearch].present?","path":"app/controllers/songs_controller.rb","position":8,"original_position":8,"commit_id":"96c087ca3ff57c19187185fdbaf6649d2e0d54b0","original_commit_id":"a2005712e4c2273d7732c8da3ef667f16b2bbf43","user":{"login":"leethomas","id":5622404,"avatar_url":"https://avatars.githubusercontent.com/u/5622404?v=3","gravatar_id":"","url":"https://api.github.com/users/leethomas","html_url":"https://github.com/leethomas","followers_url":"https://api.github.com/users/leethomas/followers","following_url":"https://api.github.com/users/leethomas/following{/other_user}","gists_url":"https://api.github.com/users/leethomas/gists{/gist_id}","starred_url":"https://api.github.com/users/leethomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leethomas/subscriptions","organizations_url":"https://api.github.com/users/leethomas/orgs","repos_url":"https://api.github.com/users/leethomas/repos","events_url":"https://api.github.com/users/leethomas/events{/privacy}","received_events_url":"https://api.github.com/users/leethomas/received_events","type":"User","site_admin":false},"body":"Yeah that's a parameter that's sent by the gem so we can't change it.","created_at":"2016-07-19T16:54:04Z","updated_at":"2016-07-19T16:54:04Z","html_url":"https://github.com/GracepointMinistries/GraceTunes/pull/3#discussion_r71378468","pull_request_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/comments/71378468"},"html":{"href":"https://github.com/GracepointMinistries/GraceTunes/pull/3#discussion_r71378468"},"pull_request":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3","id":78010272,"html_url":"https://github.com/GracepointMinistries/GraceTunes/pull/3","diff_url":"https://github.com/GracepointMinistries/GraceTunes/pull/3.diff","patch_url":"https://github.com/GracepointMinistries/GraceTunes/pull/3.patch","issue_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/3","number":3,"state":"open","locked":false,"title":"add searchable songs table & necessary query","user":{"login":"leethomas","id":5622404,"avatar_url":"https://avatars.githubusercontent.com/u/5622404?v=3","gravatar_id":"","url":"https://api.github.com/users/leethomas","html_url":"https://github.com/leethomas","followers_url":"https://api.github.com/users/leethomas/followers","following_url":"https://api.github.com/users/leethomas/following{/other_user}","gists_url":"https://api.github.com/users/leethomas/gists{/gist_id}","starred_url":"https://api.github.com/users/leethomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leethomas/subscriptions","organizations_url":"https://api.github.com/users/leethomas/orgs","repos_url":"https://api.github.com/users/leethomas/repos","events_url":"https://api.github.com/users/leethomas/events{/privacy}","received_events_url":"https://api.github.com/users/leethomas/received_events","type":"User","site_admin":false},"body":"Songs index looks like this now:\r\n\r\n![](http://mnch.in/wn1d/BTN2CsST+)\r\n\r\nLooks ugly, but it's very customizable. @josephli036 said he'd make it drop dead gorgeous. I'll help as well.\r\n\r\nThe search bar updates the table as you type.","created_at":"2016-07-19T16:44:17Z","updated_at":"2016-07-19T16:54:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f01332c24aae2358b571a7e21a938ab2556ec7b2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3/commits","review_comments_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3/comments","review_comment_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/3/comments","statuses_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/statuses/96c087ca3ff57c19187185fdbaf6649d2e0d54b0","head":{"label":"GracepointMinistries:lt/view-songs","ref":"lt/view-songs","sha":"96c087ca3ff57c19187185fdbaf6649d2e0d54b0","user":{"login":"GracepointMinistries","id":8587491,"avatar_url":"https://avatars.githubusercontent.com/u/8587491?v=3","gravatar_id":"","url":"https://api.github.com/users/GracepointMinistries","html_url":"https://github.com/GracepointMinistries","followers_url":"https://api.github.com/users/GracepointMinistries/followers","following_url":"https://api.github.com/users/GracepointMinistries/following{/other_user}","gists_url":"https://api.github.com/users/GracepointMinistries/gists{/gist_id}","starred_url":"https://api.github.com/users/GracepointMinistries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GracepointMinistries/subscriptions","organizations_url":"https://api.github.com/users/GracepointMinistries/orgs","repos_url":"https://api.github.com/users/GracepointMinistries/repos","events_url":"https://api.github.com/users/GracepointMinistries/events{/privacy}","received_events_url":"https://api.github.com/users/GracepointMinistries/received_events","type":"Organization","site_admin":false},"repo":{"id":61515238,"name":"GraceTunes","full_name":"GracepointMinistries/GraceTunes","owner":{"login":"GracepointMinistries","id":8587491,"avatar_url":"https://avatars.githubusercontent.com/u/8587491?v=3","gravatar_id":"","url":"https://api.github.com/users/GracepointMinistries","html_url":"https://github.com/GracepointMinistries","followers_url":"https://api.github.com/users/GracepointMinistries/followers","following_url":"https://api.github.com/users/GracepointMinistries/following{/other_user}","gists_url":"https://api.github.com/users/GracepointMinistries/gists{/gist_id}","starred_url":"https://api.github.com/users/GracepointMinistries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GracepointMinistries/subscriptions","organizations_url":"https://api.github.com/users/GracepointMinistries/orgs","repos_url":"https://api.github.com/users/GracepointMinistries/repos","events_url":"https://api.github.com/users/GracepointMinistries/events{/privacy}","received_events_url":"https://api.github.com/users/GracepointMinistries/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GracepointMinistries/GraceTunes","description":"Praise songs database","fork":false,"url":"https://api.github.com/repos/GracepointMinistries/GraceTunes","forks_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/forks","keys_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/teams","hooks_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/hooks","issue_events_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/events{/number}","events_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/events","assignees_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/assignees{/user}","branches_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/branches{/branch}","tags_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/tags","blobs_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/refs{/sha}","trees_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/statuses/{sha}","languages_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/languages","stargazers_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/stargazers","contributors_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/contributors","subscribers_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/subscribers","subscription_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/subscription","commits_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/commits{/sha}","git_commits_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/commits{/sha}","comments_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/comments{/number}","issue_comment_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/comments{/number}","contents_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/contents/{+path}","compare_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/merges","archive_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/downloads","issues_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues{/number}","pulls_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls{/number}","milestones_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/milestones{/number}","notifications_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/labels{/name}","releases_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/releases{/id}","deployments_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/deployments","created_at":"2016-06-20T03:48:36Z","updated_at":"2016-07-15T04:55:13Z","pushed_at":"2016-07-19T16:53:37Z","git_url":"git://github.com/GracepointMinistries/GraceTunes.git","ssh_url":"git@github.com:GracepointMinistries/GraceTunes.git","clone_url":"https://github.com/GracepointMinistries/GraceTunes.git","svn_url":"https://github.com/GracepointMinistries/GraceTunes","homepage":"","size":37,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"GracepointMinistries:master","ref":"master","sha":"0eae354979a25f1a1213cad2d389ff870d49aa9e","user":{"login":"GracepointMinistries","id":8587491,"avatar_url":"https://avatars.githubusercontent.com/u/8587491?v=3","gravatar_id":"","url":"https://api.github.com/users/GracepointMinistries","html_url":"https://github.com/GracepointMinistries","followers_url":"https://api.github.com/users/GracepointMinistries/followers","following_url":"https://api.github.com/users/GracepointMinistries/following{/other_user}","gists_url":"https://api.github.com/users/GracepointMinistries/gists{/gist_id}","starred_url":"https://api.github.com/users/GracepointMinistries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GracepointMinistries/subscriptions","organizations_url":"https://api.github.com/users/GracepointMinistries/orgs","repos_url":"https://api.github.com/users/GracepointMinistries/repos","events_url":"https://api.github.com/users/GracepointMinistries/events{/privacy}","received_events_url":"https://api.github.com/users/GracepointMinistries/received_events","type":"Organization","site_admin":false},"repo":{"id":61515238,"name":"GraceTunes","full_name":"GracepointMinistries/GraceTunes","owner":{"login":"GracepointMinistries","id":8587491,"avatar_url":"https://avatars.githubusercontent.com/u/8587491?v=3","gravatar_id":"","url":"https://api.github.com/users/GracepointMinistries","html_url":"https://github.com/GracepointMinistries","followers_url":"https://api.github.com/users/GracepointMinistries/followers","following_url":"https://api.github.com/users/GracepointMinistries/following{/other_user}","gists_url":"https://api.github.com/users/GracepointMinistries/gists{/gist_id}","starred_url":"https://api.github.com/users/GracepointMinistries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GracepointMinistries/subscriptions","organizations_url":"https://api.github.com/users/GracepointMinistries/orgs","repos_url":"https://api.github.com/users/GracepointMinistries/repos","events_url":"https://api.github.com/users/GracepointMinistries/events{/privacy}","received_events_url":"https://api.github.com/users/GracepointMinistries/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GracepointMinistries/GraceTunes","description":"Praise songs database","fork":false,"url":"https://api.github.com/repos/GracepointMinistries/GraceTunes","forks_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/forks","keys_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/teams","hooks_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/hooks","issue_events_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/events{/number}","events_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/events","assignees_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/assignees{/user}","branches_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/branches{/branch}","tags_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/tags","blobs_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/refs{/sha}","trees_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/statuses/{sha}","languages_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/languages","stargazers_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/stargazers","contributors_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/contributors","subscribers_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/subscribers","subscription_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/subscription","commits_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/commits{/sha}","git_commits_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/git/commits{/sha}","comments_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/comments{/number}","issue_comment_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/comments{/number}","contents_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/contents/{+path}","compare_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/merges","archive_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/downloads","issues_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues{/number}","pulls_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls{/number}","milestones_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/milestones{/number}","notifications_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/labels{/name}","releases_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/releases{/id}","deployments_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/deployments","created_at":"2016-06-20T03:48:36Z","updated_at":"2016-07-15T04:55:13Z","pushed_at":"2016-07-19T16:53:37Z","git_url":"git://github.com/GracepointMinistries/GraceTunes.git","ssh_url":"git@github.com:GracepointMinistries/GraceTunes.git","clone_url":"https://github.com/GracepointMinistries/GraceTunes.git","svn_url":"https://github.com/GracepointMinistries/GraceTunes","homepage":"","size":37,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3"},"html":{"href":"https://github.com/GracepointMinistries/GraceTunes/pull/3"},"issue":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/3"},"comments":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/GracepointMinistries/GraceTunes/statuses/96c087ca3ff57c19187185fdbaf6649d2e0d54b0"}}}}
{"actor":{"display_login":"leethomas"}}