{"action":"created","comment":{"url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/comments/148567823","pull_request_review_id":73828917,"id":148567823,"diff_hunk":"@@ -7,14 +7,38 @@\n \n   <div class=\"form-card__content\">\n     <%= form_for @step, as: :step, builder: MbFormBuilder, url: current_path, method: :put do |f| %>\n-      <%= f.mb_input_field :last_four_ssn,\n-        \"Social Security Number (last 4 digits)\",\n-        type: :tel,\n-        options: { maxlength: 4 },\n-        notes: [\"If you don’t know it you can skip this\"],\n-        append_html: \"<p class='text--secure'><i class='illustration illustration--safety'></i>Social security numbers help ensure you receive the correct benefits. MDHHS maintains strict security guidelines to protect the identities of our residents.</p>\" %>\n+      <% if single_member_household? %>\n+        <%= f.fields_for('members[]', current_application.primary_member) do |ff| %>\n+          <%= ff.mb_input_field :last_four_ssn,\n+            \"Social Security Number (last 4 digits)\",\n+            type: :tel,\n+            options: { maxlength: 4 },\n+            notes: [\"If you don’t know it you can skip this\"],\n+            append_html: \"<p class='text--secure'><i class='illustration illustration--safety'></i>Social security numbers help ensure you receive the correct benefits. MDHHS maintains strict security guidelines to protect the identities of our residents.</p>\" %>\n \n-      <%= f.mb_date_select :birthday, \"What is your birthday?\", { options: { start_year: 1900, end_year: Time.now.year, default: Date.new(1990,1,15), order: [:month, :day, :year] } } %>\n+          <%= ff.mb_date_select :birthday, \"What is your birthday?\", { options: { start_year: 1900, end_year: Time.now.year, default: Date.new(1990,1,15), order: [:month, :day, :year] } } %>\n+        <% end %>\n+      <% else %>\n+        <% @step.members.select{|m| m.requesting_health_insurance? }.each do |member| %>","path":"app/views/medicaid/contact_social_security/edit.html.erb","position":23,"original_position":23,"commit_id":"8287aab3924d5519aefaf8ecf89400c0fdfe06c2","original_commit_id":"8287aab3924d5519aefaf8ecf89400c0fdfe06c2","user":{"login":"hartsick","id":3675092,"avatar_url":"https://avatars0.githubusercontent.com/u/3675092?v=4","gravatar_id":"","url":"https://api.github.com/users/hartsick","html_url":"https://github.com/hartsick","followers_url":"https://api.github.com/users/hartsick/followers","following_url":"https://api.github.com/users/hartsick/following{/other_user}","gists_url":"https://api.github.com/users/hartsick/gists{/gist_id}","starred_url":"https://api.github.com/users/hartsick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartsick/subscriptions","organizations_url":"https://api.github.com/users/hartsick/orgs","repos_url":"https://api.github.com/users/hartsick/repos","events_url":"https://api.github.com/users/hartsick/events{/privacy}","received_events_url":"https://api.github.com/users/hartsick/received_events","type":"User","site_admin":false},"body":"small thing! we had talked about moving this filtering out of the view (maybe it belongs in the step or a shared step, since that's where it currently lives for providing info about your current health insurance)?","created_at":"2017-11-02T15:28:06Z","updated_at":"2017-11-02T15:29:30Z","html_url":"https://github.com/codeforamerica/michigan-benefits/pull/418#discussion_r148567823","pull_request_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/comments/148567823"},"html":{"href":"https://github.com/codeforamerica/michigan-benefits/pull/418#discussion_r148567823"},"pull_request":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418"}}},"pull_request":{"url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418","id":150168457,"html_url":"https://github.com/codeforamerica/michigan-benefits/pull/418","diff_url":"https://github.com/codeforamerica/michigan-benefits/pull/418.diff","patch_url":"https://github.com/codeforamerica/michigan-benefits/pull/418.patch","issue_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/418","number":418,"state":"open","locked":false,"title":"Medicaid MM: Last 4 SSN and DOB for all household members","user":{"login":"jessieay","id":601515,"avatar_url":"https://avatars0.githubusercontent.com/u/601515?v=4","gravatar_id":"","url":"https://api.github.com/users/jessieay","html_url":"https://github.com/jessieay","followers_url":"https://api.github.com/users/jessieay/followers","following_url":"https://api.github.com/users/jessieay/following{/other_user}","gists_url":"https://api.github.com/users/jessieay/gists{/gist_id}","starred_url":"https://api.github.com/users/jessieay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessieay/subscriptions","organizations_url":"https://api.github.com/users/jessieay/orgs","repos_url":"https://api.github.com/users/jessieay/repos","events_url":"https://api.github.com/users/jessieay/events{/privacy}","received_events_url":"https://api.github.com/users/jessieay/received_events","type":"User","site_admin":false},"body":"* As a multi-member Medicaid applicant, I want to be able in input\r\n  Social Security and DOB for each household member.\r\n* Finishes #152457770","created_at":"2017-11-01T23:08:28Z","updated_at":"2017-11-02T15:29:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c6664d2b858c2ad36f19df94daa07ae144055b7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418/commits","review_comments_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418/comments","review_comment_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/418/comments","statuses_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/statuses/8287aab3924d5519aefaf8ecf89400c0fdfe06c2","head":{"label":"codeforamerica:jy-medicaid-dob-ssn","ref":"jy-medicaid-dob-ssn","sha":"8287aab3924d5519aefaf8ecf89400c0fdfe06c2","user":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars2.githubusercontent.com/u/337792?v=4","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"repo":{"id":83607937,"name":"michigan-benefits","full_name":"codeforamerica/michigan-benefits","owner":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars2.githubusercontent.com/u/337792?v=4","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeforamerica/michigan-benefits","description":"Digital Assister for Michigan","fork":false,"url":"https://api.github.com/repos/codeforamerica/michigan-benefits","forks_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/forks","keys_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/teams","hooks_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/hooks","issue_events_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/events{/number}","events_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/events","assignees_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/assignees{/user}","branches_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/branches{/branch}","tags_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/tags","blobs_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/statuses/{sha}","languages_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/languages","stargazers_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/stargazers","contributors_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/contributors","subscribers_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/subscribers","subscription_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/subscription","commits_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/contents/{+path}","compare_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/merges","archive_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/downloads","issues_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues{/number}","pulls_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls{/number}","milestones_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/milestones{/number}","notifications_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/labels{/name}","releases_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/releases{/id}","deployments_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/deployments","created_at":"2017-03-01T22:24:46Z","updated_at":"2017-10-31T01:03:33Z","pushed_at":"2017-11-02T14:52:11Z","git_url":"git://github.com/codeforamerica/michigan-benefits.git","ssh_url":"git@github.com:codeforamerica/michigan-benefits.git","clone_url":"https://github.com/codeforamerica/michigan-benefits.git","svn_url":"https://github.com/codeforamerica/michigan-benefits","homepage":"","size":8210,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":6,"default_branch":"master"}},"base":{"label":"codeforamerica:master","ref":"master","sha":"6b83d24b21aae1fa826a95560b89c8ed7d230285","user":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars2.githubusercontent.com/u/337792?v=4","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"repo":{"id":83607937,"name":"michigan-benefits","full_name":"codeforamerica/michigan-benefits","owner":{"login":"codeforamerica","id":337792,"avatar_url":"https://avatars2.githubusercontent.com/u/337792?v=4","gravatar_id":"","url":"https://api.github.com/users/codeforamerica","html_url":"https://github.com/codeforamerica","followers_url":"https://api.github.com/users/codeforamerica/followers","following_url":"https://api.github.com/users/codeforamerica/following{/other_user}","gists_url":"https://api.github.com/users/codeforamerica/gists{/gist_id}","starred_url":"https://api.github.com/users/codeforamerica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeforamerica/subscriptions","organizations_url":"https://api.github.com/users/codeforamerica/orgs","repos_url":"https://api.github.com/users/codeforamerica/repos","events_url":"https://api.github.com/users/codeforamerica/events{/privacy}","received_events_url":"https://api.github.com/users/codeforamerica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeforamerica/michigan-benefits","description":"Digital Assister for Michigan","fork":false,"url":"https://api.github.com/repos/codeforamerica/michigan-benefits","forks_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/forks","keys_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/teams","hooks_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/hooks","issue_events_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/events{/number}","events_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/events","assignees_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/assignees{/user}","branches_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/branches{/branch}","tags_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/tags","blobs_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/statuses/{sha}","languages_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/languages","stargazers_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/stargazers","contributors_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/contributors","subscribers_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/subscribers","subscription_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/subscription","commits_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/contents/{+path}","compare_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/merges","archive_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/downloads","issues_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues{/number}","pulls_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls{/number}","milestones_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/milestones{/number}","notifications_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/labels{/name}","releases_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/releases{/id}","deployments_url":"https://api.github.com/repos/codeforamerica/michigan-benefits/deployments","created_at":"2017-03-01T22:24:46Z","updated_at":"2017-10-31T01:03:33Z","pushed_at":"2017-11-02T14:52:11Z","git_url":"git://github.com/codeforamerica/michigan-benefits.git","ssh_url":"git@github.com:codeforamerica/michigan-benefits.git","clone_url":"https://github.com/codeforamerica/michigan-benefits.git","svn_url":"https://github.com/codeforamerica/michigan-benefits","homepage":"","size":8210,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418"},"html":{"href":"https://github.com/codeforamerica/michigan-benefits/pull/418"},"issue":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/418"},"comments":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/issues/418/comments"},"review_comments":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418/comments"},"review_comment":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/pulls/418/commits"},"statuses":{"href":"https://api.github.com/repos/codeforamerica/michigan-benefits/statuses/8287aab3924d5519aefaf8ecf89400c0fdfe06c2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hartsick"}}