{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/23227758","id":23227758,"diff_hunk":"@@ -16,6 +16,11 @@\n     branch { Branch.all.sample if sponsor_type.name == 'Individual' }\n     organization { Organization.all.sample if sponsor_type.name == 'Organization' }\n     payment_plan { Sponsor::PAYMENT_PLANS.sample }\n+    address { \"#{Faker::Address.street_name} #{Faker::Address.building_number.to_s}\" }","path":"spec/factories/sponsors.rb","position":4,"original_position":4,"commit_id":"440c8f2a019aed583709702797ca22f8972a7d59","original_commit_id":"440c8f2a019aed583709702797ca22f8972a7d59","user":{"login":"theB264","id":7057665,"avatar_url":"https://avatars.githubusercontent.com/u/7057665?v=3","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":"for non-mandatory fields\r\n``` ruby\r\nattribute [nil, your_code].sample\r\n```\r\nmay be even better at catching errors","created_at":"2015-01-20T15:11:57Z","updated_at":"2015-01-20T15:11:57Z","html_url":"https://github.com/AgileVentures/osra/pull/304#discussion_r23227758","pull_request_url":"https://api.github.com/repos/AgileVentures/osra/pulls/304","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/23227758"},"html":{"href":"https://github.com/AgileVentures/osra/pull/304#discussion_r23227758"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/304"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/osra/pulls/304","id":27675847,"html_url":"https://github.com/AgileVentures/osra/pull/304","diff_url":"https://github.com/AgileVentures/osra/pull/304.diff","patch_url":"https://github.com/AgileVentures/osra/pull/304.patch","issue_url":"https://api.github.com/repos/AgileVentures/osra/issues/304","number":304,"state":"open","locked":false,"title":"Osra336 sponsor#edit sponsor#update actions and views","user":{"login":"razorcd","id":3721810,"avatar_url":"https://avatars.githubusercontent.com/u/3721810?v=3","gravatar_id":"","url":"https://api.github.com/users/razorcd","html_url":"https://github.com/razorcd","followers_url":"https://api.github.com/users/razorcd/followers","following_url":"https://api.github.com/users/razorcd/following{/other_user}","gists_url":"https://api.github.com/users/razorcd/gists{/gist_id}","starred_url":"https://api.github.com/users/razorcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razorcd/subscriptions","organizations_url":"https://api.github.com/users/razorcd/orgs","repos_url":"https://api.github.com/users/razorcd/repos","events_url":"https://api.github.com/users/razorcd/events{/privacy}","received_events_url":"https://api.github.com/users/razorcd/received_events","type":"User","site_admin":false},"body":"https://osraav.atlassian.net/browse/OSRA-336\r\n\r\nCreated:\r\n - controller edit#sponsor\r\n - view edit#sponsor\r\n - controller update#sponsor\r\n - partial view _form\r\n - `country_select_list` and `en_ar_country(country)` view helper methods to hq: `application_helper.rb`\r\n - rspec tests for controller and views\r\n - changed `:sponsor` factory to include `address`, `email`, `contact1`, `contact2`, `additional_info`\r\n \r\nComments will be removed on the next update.","created_at":"2015-01-20T13:03:59Z","updated_at":"2015-01-20T15:11:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a97751648459eeae139e9a0c23e41f5793efcb00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/osra/pulls/304/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/osra/pulls/304/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}","comments_url":"https://api.github.com/repos/AgileVentures/osra/issues/304/comments","statuses_url":"https://api.github.com/repos/AgileVentures/osra/statuses/440c8f2a019aed583709702797ca22f8972a7d59","head":{"label":"razorcd:osra336_sponsor#edit_sponsor#update_actions_and_views","ref":"osra336_sponsor#edit_sponsor#update_actions_and_views","sha":"440c8f2a019aed583709702797ca22f8972a7d59","user":{"login":"razorcd","id":3721810,"avatar_url":"https://avatars.githubusercontent.com/u/3721810?v=3","gravatar_id":"","url":"https://api.github.com/users/razorcd","html_url":"https://github.com/razorcd","followers_url":"https://api.github.com/users/razorcd/followers","following_url":"https://api.github.com/users/razorcd/following{/other_user}","gists_url":"https://api.github.com/users/razorcd/gists{/gist_id}","starred_url":"https://api.github.com/users/razorcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razorcd/subscriptions","organizations_url":"https://api.github.com/users/razorcd/orgs","repos_url":"https://api.github.com/users/razorcd/repos","events_url":"https://api.github.com/users/razorcd/events{/privacy}","received_events_url":"https://api.github.com/users/razorcd/received_events","type":"User","site_admin":false},"repo":{"id":27792556,"name":"osra","full_name":"razorcd/osra","owner":{"login":"razorcd","id":3721810,"avatar_url":"https://avatars.githubusercontent.com/u/3721810?v=3","gravatar_id":"","url":"https://api.github.com/users/razorcd","html_url":"https://github.com/razorcd","followers_url":"https://api.github.com/users/razorcd/followers","following_url":"https://api.github.com/users/razorcd/following{/other_user}","gists_url":"https://api.github.com/users/razorcd/gists{/gist_id}","starred_url":"https://api.github.com/users/razorcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razorcd/subscriptions","organizations_url":"https://api.github.com/users/razorcd/orgs","repos_url":"https://api.github.com/users/razorcd/repos","events_url":"https://api.github.com/users/razorcd/events{/privacy}","received_events_url":"https://api.github.com/users/razorcd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/razorcd/osra","description":"Sponsor orphans in Syria & insure basic life & education requirements for Syrian children","fork":true,"url":"https://api.github.com/repos/razorcd/osra","forks_url":"https://api.github.com/repos/razorcd/osra/forks","keys_url":"https://api.github.com/repos/razorcd/osra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/razorcd/osra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/razorcd/osra/teams","hooks_url":"https://api.github.com/repos/razorcd/osra/hooks","issue_events_url":"https://api.github.com/repos/razorcd/osra/issues/events{/number}","events_url":"https://api.github.com/repos/razorcd/osra/events","assignees_url":"https://api.github.com/repos/razorcd/osra/assignees{/user}","branches_url":"https://api.github.com/repos/razorcd/osra/branches{/branch}","tags_url":"https://api.github.com/repos/razorcd/osra/tags","blobs_url":"https://api.github.com/repos/razorcd/osra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/razorcd/osra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/razorcd/osra/git/refs{/sha}","trees_url":"https://api.github.com/repos/razorcd/osra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/razorcd/osra/statuses/{sha}","languages_url":"https://api.github.com/repos/razorcd/osra/languages","stargazers_url":"https://api.github.com/repos/razorcd/osra/stargazers","contributors_url":"https://api.github.com/repos/razorcd/osra/contributors","subscribers_url":"https://api.github.com/repos/razorcd/osra/subscribers","subscription_url":"https://api.github.com/repos/razorcd/osra/subscription","commits_url":"https://api.github.com/repos/razorcd/osra/commits{/sha}","git_commits_url":"https://api.github.com/repos/razorcd/osra/git/commits{/sha}","comments_url":"https://api.github.com/repos/razorcd/osra/comments{/number}","issue_comment_url":"https://api.github.com/repos/razorcd/osra/issues/comments/{number}","contents_url":"https://api.github.com/repos/razorcd/osra/contents/{+path}","compare_url":"https://api.github.com/repos/razorcd/osra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/razorcd/osra/merges","archive_url":"https://api.github.com/repos/razorcd/osra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/razorcd/osra/downloads","issues_url":"https://api.github.com/repos/razorcd/osra/issues{/number}","pulls_url":"https://api.github.com/repos/razorcd/osra/pulls{/number}","milestones_url":"https://api.github.com/repos/razorcd/osra/milestones{/number}","notifications_url":"https://api.github.com/repos/razorcd/osra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/razorcd/osra/labels{/name}","releases_url":"https://api.github.com/repos/razorcd/osra/releases{/id}","created_at":"2014-12-09T23:26:34Z","updated_at":"2015-01-03T12:53:02Z","pushed_at":"2015-01-20T12:52:37Z","git_url":"git://github.com/razorcd/osra.git","ssh_url":"git@github.com:razorcd/osra.git","clone_url":"https://github.com/razorcd/osra.git","svn_url":"https://github.com/razorcd/osra","homepage":null,"size":1936,"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":"551e5afd8599655f7df8801071a90641d0126bfe","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","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=3","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 & ensure 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":"2015-01-19T14:50:42Z","pushed_at":"2015-01-19T14:50:42Z","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":"","size":4633,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":15,"forks":28,"open_issues":15,"watchers":9,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/304"},"html":{"href":"https://github.com/AgileVentures/osra/pull/304"},"issue":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/304"},"comments":{"href":"https://api.github.com/repos/AgileVentures/osra/issues/304/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/304/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/osra/pulls/304/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/osra/statuses/440c8f2a019aed583709702797ca22f8972a7d59"}}}}