{"action":"created","comment":{"url":"https://api.github.com/repos/calblueprint/worldreader/pulls/comments/25745511","id":25745511,"diff_hunk":"@@ -16,15 +16,14 @@ def display_partners_new_purchases\n \n   def partner_information\n     user = User.find(params[:id])\n-    countries = user.countries.pluck(:name).join(\", \")\n-    levels = user.levels.pluck(:name).join(\", \")\n-    languages = user.languages.pluck(:name).join(\", \")\n-    extra_fields = {countries: countries, levels: levels, languages: languages}\n+    # country = user.country.pluck(:name)\n+    # language = user.language.pluck(:name)\n+    extra_fields = {country: \"hello\", language: \"language\"}","path":"app/controllers/admin/dashboard_controller.rb","position":10,"original_position":10,"commit_id":"0d62746ec85ff400148535ee4955102be5584a09","original_commit_id":"632622cd3d1b5ecbceeb1b997f56ceef37aab2b9","user":{"login":"varunrau","id":1448222,"avatar_url":"https://avatars.githubusercontent.com/u/1448222?v=3","gravatar_id":"","url":"https://api.github.com/users/varunrau","html_url":"https://github.com/varunrau","followers_url":"https://api.github.com/users/varunrau/followers","following_url":"https://api.github.com/users/varunrau/following{/other_user}","gists_url":"https://api.github.com/users/varunrau/gists{/gist_id}","starred_url":"https://api.github.com/users/varunrau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varunrau/subscriptions","organizations_url":"https://api.github.com/users/varunrau/orgs","repos_url":"https://api.github.com/users/varunrau/repos","events_url":"https://api.github.com/users/varunrau/events{/privacy}","received_events_url":"https://api.github.com/users/varunrau/received_events","type":"User","site_admin":false},"body":"done","created_at":"2015-03-04T01:27:45Z","updated_at":"2015-03-04T01:27:45Z","html_url":"https://github.com/calblueprint/worldreader/pull/239#discussion_r25745511","pull_request_url":"https://api.github.com/repos/calblueprint/worldreader/pulls/239","_links":{"self":{"href":"https://api.github.com/repos/calblueprint/worldreader/pulls/comments/25745511"},"html":{"href":"https://github.com/calblueprint/worldreader/pull/239#discussion_r25745511"},"pull_request":{"href":"https://api.github.com/repos/calblueprint/worldreader/pulls/239"}}},"pull_request":{"url":"https://api.github.com/repos/calblueprint/worldreader/pulls/239","id":29963295,"html_url":"https://github.com/calblueprint/worldreader/pull/239","diff_url":"https://github.com/calblueprint/worldreader/pull/239.diff","patch_url":"https://github.com/calblueprint/worldreader/pull/239.patch","issue_url":"https://api.github.com/repos/calblueprint/worldreader/issues/239","number":239,"state":"open","locked":false,"title":"Jdu/add content buckets and projects","user":{"login":"johnldu","id":2214253,"avatar_url":"https://avatars.githubusercontent.com/u/2214253?v=3","gravatar_id":"","url":"https://api.github.com/users/johnldu","html_url":"https://github.com/johnldu","followers_url":"https://api.github.com/users/johnldu/followers","following_url":"https://api.github.com/users/johnldu/following{/other_user}","gists_url":"https://api.github.com/users/johnldu/gists{/gist_id}","starred_url":"https://api.github.com/users/johnldu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnldu/subscriptions","organizations_url":"https://api.github.com/users/johnldu/orgs","repos_url":"https://api.github.com/users/johnldu/repos","events_url":"https://api.github.com/users/johnldu/events{/privacy}","received_events_url":"https://api.github.com/users/johnldu/received_events","type":"User","site_admin":false},"body":"buzz buzz hound emails all night","created_at":"2015-02-25T06:06:55Z","updated_at":"2015-03-04T01:27:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f591e661f5f7af76ba189a7a318d7771853c0df","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calblueprint/worldreader/pulls/239/commits","review_comments_url":"https://api.github.com/repos/calblueprint/worldreader/pulls/239/comments","review_comment_url":"https://api.github.com/repos/calblueprint/worldreader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calblueprint/worldreader/issues/239/comments","statuses_url":"https://api.github.com/repos/calblueprint/worldreader/statuses/0d62746ec85ff400148535ee4955102be5584a09","head":{"label":"calblueprint:jdu/add_content_buckets_and_projects","ref":"jdu/add_content_buckets_and_projects","sha":"0d62746ec85ff400148535ee4955102be5584a09","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":23782466,"name":"worldreader","full_name":"calblueprint/worldreader","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/worldreader","description":"Delivering relevant e-books to students in sub-Saharan Africa","fork":false,"url":"https://api.github.com/repos/calblueprint/worldreader","forks_url":"https://api.github.com/repos/calblueprint/worldreader/forks","keys_url":"https://api.github.com/repos/calblueprint/worldreader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/worldreader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/worldreader/teams","hooks_url":"https://api.github.com/repos/calblueprint/worldreader/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/worldreader/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/worldreader/events","assignees_url":"https://api.github.com/repos/calblueprint/worldreader/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/worldreader/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/worldreader/tags","blobs_url":"https://api.github.com/repos/calblueprint/worldreader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/worldreader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/worldreader/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/worldreader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/worldreader/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/worldreader/languages","stargazers_url":"https://api.github.com/repos/calblueprint/worldreader/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/worldreader/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/worldreader/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/worldreader/subscription","commits_url":"https://api.github.com/repos/calblueprint/worldreader/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/worldreader/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/worldreader/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/worldreader/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/worldreader/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/worldreader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/worldreader/merges","archive_url":"https://api.github.com/repos/calblueprint/worldreader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/worldreader/downloads","issues_url":"https://api.github.com/repos/calblueprint/worldreader/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/worldreader/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/worldreader/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/worldreader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/worldreader/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/worldreader/releases{/id}","created_at":"2014-09-08T07:26:29Z","updated_at":"2015-03-04T01:21:54Z","pushed_at":"2015-03-04T01:21:55Z","git_url":"git://github.com/calblueprint/worldreader.git","ssh_url":"git@github.com:calblueprint/worldreader.git","clone_url":"https://github.com/calblueprint/worldreader.git","svn_url":"https://github.com/calblueprint/worldreader","homepage":"","size":2436,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":36,"forks":0,"open_issues":36,"watchers":5,"default_branch":"master"}},"base":{"label":"calblueprint:master","ref":"master","sha":"c78ece33fbc3dbbd2a4876e73aa993a918fe56a2","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":23782466,"name":"worldreader","full_name":"calblueprint/worldreader","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/worldreader","description":"Delivering relevant e-books to students in sub-Saharan Africa","fork":false,"url":"https://api.github.com/repos/calblueprint/worldreader","forks_url":"https://api.github.com/repos/calblueprint/worldreader/forks","keys_url":"https://api.github.com/repos/calblueprint/worldreader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/worldreader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/worldreader/teams","hooks_url":"https://api.github.com/repos/calblueprint/worldreader/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/worldreader/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/worldreader/events","assignees_url":"https://api.github.com/repos/calblueprint/worldreader/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/worldreader/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/worldreader/tags","blobs_url":"https://api.github.com/repos/calblueprint/worldreader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/worldreader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/worldreader/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/worldreader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/worldreader/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/worldreader/languages","stargazers_url":"https://api.github.com/repos/calblueprint/worldreader/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/worldreader/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/worldreader/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/worldreader/subscription","commits_url":"https://api.github.com/repos/calblueprint/worldreader/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/worldreader/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/worldreader/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/worldreader/issues/comments{/number}","contents_url":"https://api.github.com/repos/calblueprint/worldreader/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/worldreader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/worldreader/merges","archive_url":"https://api.github.com/repos/calblueprint/worldreader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/worldreader/downloads","issues_url":"https://api.github.com/repos/calblueprint/worldreader/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/worldreader/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/worldreader/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/worldreader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/worldreader/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/worldreader/releases{/id}","created_at":"2014-09-08T07:26:29Z","updated_at":"2015-03-04T01:21:54Z","pushed_at":"2015-03-04T01:21:55Z","git_url":"git://github.com/calblueprint/worldreader.git","ssh_url":"git@github.com:calblueprint/worldreader.git","clone_url":"https://github.com/calblueprint/worldreader.git","svn_url":"https://github.com/calblueprint/worldreader","homepage":"","size":2436,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":36,"forks":0,"open_issues":36,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calblueprint/worldreader/pulls/239"},"html":{"href":"https://github.com/calblueprint/worldreader/pull/239"},"issue":{"href":"https://api.github.com/repos/calblueprint/worldreader/issues/239"},"comments":{"href":"https://api.github.com/repos/calblueprint/worldreader/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/calblueprint/worldreader/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/calblueprint/worldreader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calblueprint/worldreader/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/calblueprint/worldreader/statuses/0d62746ec85ff400148535ee4955102be5584a09"}}}}