GitHub PullRequestReviewCommentEvent at 2014-10-31 14:56:46
Repository: osra
Actor: NikitaAvvakumov
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/19671022","id":19671022,"diff_hunk":"@@ -3,27 +3,37 @@\n   actions :new, :create\n   belongs_to :sponsor\n \n-  form do\n+  form do |f|\n     panel 'Sponsor' do\n       h3 sponsorship.sponsor_name\n       para link_to 'Return to Sponsor page', admin_sponsor_path(sponsorship.sponsor)\n       para sponsorship.sponsor_additional_info\n     end\n-\n     panel 'Orphans' do\n-      table_for Orphan.active.currently_unsponsored do\n-        column :id\n-        column 'Name' do |_orphan|\n-          link_to _orphan.name, admin_orphan_path(_orphan)\n-        end\n-        column :gender\n-        column :mother_alive\n-        column 'Establish sponsorship' do |_orphan|\n-          link_to 'Sponsor this orphan',\n-                  admin_sponsor_sponsorships_path(sponsor_id: sponsorship.sponsor_id,\n-                                                orphan_id: _orphan.id),\n-                  method: :post\n-        end\n+      table_for Orphan.active.currently_unsponsored.sort_by_param(params), sortable: true do","path":"app/admin/sponsorship.rb","position":26,"original_position":26,"commit_id":"9bd9db06e0cd0446e300b13bbe9ea85d0d7f93f1","original_commit_id":"9bd9db06e0cd0446e300b13bbe9ea85d0d7f93f1","user":{"login":"NikitaAvvakumov","id":5029403,"avatar_url":"https://avatars.githubusercontent.com/u/5029403?v=2","gravatar_id":"","url":"https://api.github.com/users/NikitaAvvakumov","html_url":"https://github.com/NikitaAvvakumov","followers_url":"https://api.github.com/users/NikitaAvvakumov/followers","following_url":"https://api.github.com/users/NikitaAvvakumov/following{/other_user}","gists_url":"https://api.github.com/users/NikitaAvvakumov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaAvvakumov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaAvvakumov/subscriptions","organizations_url":"https://api.github.com/users/NikitaAvvakumov/orgs","repos_url":"https://api.github.com/users/NikitaAvvakumov/repos","events_url":"https://api.github.com/users/NikitaAvvakumov/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaAvvakumov/received_events","type":"User","site_admin":false},"body":"Let's introduce a `eligible_for_sponsorship` scope to `Orphan`","created_at":"2014-10-31T14:56:46Z","updated_at":"2014-10-31T14:56:46Z","html_url":"https://github.com/AgileVentures/osra/pull/129#discussion_r19671022","pull_request_url":"https://api.github.com/repos/AgileVentures/osra/pulls/129","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/19671022"},"html":{"href":"https://github.com/AgileVentures/osra/pull/129#discussion_r19671022"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/129"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/129","id":23566894,"html_url":"https://github.com/AgileVentures/osra/pull/129","diff_url":"https://github.com/AgileVentures/osra/pull/129.diff","patch_url":"https://github.com/AgileVentures/osra/pull/129.patch","issue_url":"https://api.github.com/repos/AgileVentures/osra/issues/129","number":129,"state":"open","locked":false,"title":"OSRA-178: Allow ordering of orphans by attributes during sponsorship creation","user":{"login":"theB264","id":7057665,"avatar_url":"https://avatars.githubusercontent.com/u/7057665?v=2","gravatar_id":"","url":"https://api.github.com/users/theB264","html_url":"https://github.com/theB264","followers_url":"https://api.github.com/users/theB264/followers","following_url":"https://api.github.com/users/theB264/following{/other_user}","gists_url":"https://api.github.com/users/theB264/gists{/gist_id}","starred_url":"https://api.github.com/users/theB264/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theB264/subscriptions","organizations_url":"https://api.github.com/users/theB264/orgs","repos_url":"https://api.github.com/users/theB264/repos","events_url":"https://api.github.com/users/theB264/events{/privacy}","received_events_url":"https://api.github.com/users/theB264/received_events","type":"User","site_admin":false},"body":"contains OSRA-213, OSRA-214, OSRA-215 excluding OSRA-216","created_at":"2014-10-29T21:35:52Z","updated_at":"2014-10-31T14:56:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e46a5bdccfec265b5f9b91b226e7e6694054293","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/osra/pulls/129/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/osra/pulls/129/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AgileVentures/osra/issues/129/comments","statuses_url":"https://api.github.com/repos/AgileVentures/osra/statuses/9bd9db06e0cd0446e300b13bbe9ea85d0d7f93f1","head":{"label":"theB264:osra178_orphan_ordering","ref":"osra178_orphan_ordering","sha":"9bd9db06e0cd0446e300b13bbe9ea85d0d7f93f1","user":{"login":"theB264","id":7057665,"avatar_url":"https://avatars.githubusercontent.com/u/7057665?v=2","gravatar_id":"","url":"https://api.github.com/users/theB264","html_url":"https://github.com/theB264","followers_url":"https://api.github.com/users/theB264/followers","following_url":"https://api.github.com/users/theB264/following{/other_user}","gists_url":"https://api.github.com/users/theB264/gists{/gist_id}","starred_url":"https://api.github.com/users/theB264/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theB264/subscriptions","organizations_url":"https://api.github.com/users/theB264/orgs","repos_url":"https://api.github.com/users/theB264/repos","events_url":"https://api.github.com/users/theB264/events{/privacy}","received_events_url":"https://api.github.com/users/theB264/received_events","type":"User","site_admin":false},"repo":{"id":25436098,"name":"osra","full_name":"theB264/osra","owner":{"login":"theB264","id":7057665,"avatar_url":"https://avatars.githubusercontent.com/u/7057665?v=2","gravatar_id":"","url":"https://api.github.com/users/theB264","html_url":"https://github.com/theB264","followers_url":"https://api.github.com/users/theB264/followers","following_url":"https://api.github.com/users/theB264/following{/other_user}","gists_url":"https://api.github.com/users/theB264/gists{/gist_id}","starred_url":"https://api.github.com/users/theB264/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theB264/subscriptions","organizations_url":"https://api.github.com/users/theB264/orgs","repos_url":"https://api.github.com/users/theB264/repos","events_url":"https://api.github.com/users/theB264/events{/privacy}","received_events_url":"https://api.github.com/users/theB264/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theB264/osra","description":"Sponsor orphans in Syria & insure basic life & education requirements for Syrian children","fork":true,"url":"https://api.github.com/repos/theB264/osra","forks_url":"https://api.github.com/repos/theB264/osra/forks","keys_url":"https://api.github.com/repos/theB264/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theB264/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theB264/osra/teams","hooks_url":"https://api.github.com/repos/theB264/osra/hooks","issue_events_url":"https://api.github.com/repos/theB264/osra/issues/events{/number}","events_url":"https://api.github.com/repos/theB264/osra/events","assignees_url":"https://api.github.com/repos/theB264/osra/assignees{/user}","branches_url":"https://api.github.com/repos/theB264/osra/branches{/branch}","tags_url":"https://api.github.com/repos/theB264/osra/tags","blobs_url":"https://api.github.com/repos/theB264/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theB264/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theB264/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/theB264/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theB264/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/theB264/osra/languages","stargazers_url":"https://api.github.com/repos/theB264/osra/stargazers","contributors_url":"https://api.github.com/repos/theB264/osra/contributors","subscribers_url":"https://api.github.com/repos/theB264/osra/subscribers","subscription_url":"https://api.github.com/repos/theB264/osra/subscription","commits_url":"https://api.github.com/repos/theB264/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/theB264/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/theB264/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/theB264/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/theB264/osra/contents/{+path}","compare_url":"https://api.github.com/repos/theB264/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theB264/osra/merges","archive_url":"https://api.github.com/repos/theB264/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theB264/osra/downloads","issues_url":"https://api.github.com/repos/theB264/osra/issues{/number}","pulls_url":"https://api.github.com/repos/theB264/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/theB264/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/theB264/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theB264/osra/labels{/name}","releases_url":"https://api.github.com/repos/theB264/osra/releases{/id}","created_at":"2014-10-19T18:35:40Z","updated_at":"2014-10-23T20:06:48Z","pushed_at":"2014-10-31T09:29:23Z","git_url":"git://github.com/theB264/osra.git","ssh_url":"git@github.com:theB264/osra.git","clone_url":"https://github.com/theB264/osra.git","svn_url":"https://github.com/theB264/osra","homepage":null,"size":1159,"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":"AgileVentures:develop","ref":"develop","sha":"4eea52a53fb4974765e352cd51942e8849f2583e","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=2","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":18855271,"name":"osra","full_name":"AgileVentures/osra","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=2","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/osra","description":"Sponsor orphans in Syria & insure basic life & education requirements for Syrian children","fork":false,"url":"https://api.github.com/repos/AgileVentures/osra","forks_url":"https://api.github.com/repos/AgileVentures/osra/forks","keys_url":"https://api.github.com/repos/AgileVentures/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/osra/teams","hooks_url":"https://api.github.com/repos/AgileVentures/osra/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/osra/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/osra/events","assignees_url":"https://api.github.com/repos/AgileVentures/osra/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/osra/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/osra/tags","blobs_url":"https://api.github.com/repos/AgileVentures/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/osra/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/osra/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/osra/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/osra/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/osra/subscription","commits_url":"https://api.github.com/repos/AgileVentures/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/AgileVentures/osra/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/osra/merges","archive_url":"https://api.github.com/repos/AgileVentures/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/osra/downloads","issues_url":"https://api.github.com/repos/AgileVentures/osra/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/osra/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/osra/releases{/id}","created_at":"2014-04-16T20:43:09Z","updated_at":"2014-10-23T13:20:49Z","pushed_at":"2014-10-30T13:53:58Z","git_url":"git://github.com/AgileVentures/osra.git","ssh_url":"git@github.com:AgileVentures/osra.git","clone_url":"https://github.com/AgileVentures/osra.git","svn_url":"https://github.com/AgileVentures/osra","homepage":null,"size":3124,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":6,"forks":19,"open_issues":6,"watchers":7,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/129"},"html":{"href":"https://github.com/AgileVentures/osra/pull/129"},"issue":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/129"},"comments":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/osra/statuses/9bd9db06e0cd0446e300b13bbe9ea85d0d7f93f1"}}}}