{"action":"closed","number":32087,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/32087","id":170833090,"html_url":"https://github.com/rails/rails/pull/32087","diff_url":"https://github.com/rails/rails/pull/32087.diff","patch_url":"https://github.com/rails/rails/pull/32087.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/32087","number":32087,"state":"closed","locked":false,"title":"Let select render default selected option for required field","user":{"login":"prikha","id":594872,"avatar_url":"https://avatars1.githubusercontent.com/u/594872?v=4","gravatar_id":"","url":"https://api.github.com/users/prikha","html_url":"https://github.com/prikha","followers_url":"https://api.github.com/users/prikha/followers","following_url":"https://api.github.com/users/prikha/following{/other_user}","gists_url":"https://api.github.com/users/prikha/gists{/gist_id}","starred_url":"https://api.github.com/users/prikha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prikha/subscriptions","organizations_url":"https://api.github.com/users/prikha/orgs","repos_url":"https://api.github.com/users/prikha/repos","events_url":"https://api.github.com/users/prikha/events{/privacy}","received_events_url":"https://api.github.com/users/prikha/received_events","type":"User","site_admin":false},"body":"### Summary\r\n\r\nLet select tag be required and have a selected disabled placeholder option.\r\n\r\nCloses related issue https://github.com/rails/rails/issues/32080","created_at":"2018-02-22T18:42:27Z","updated_at":"2018-02-28T03:52:54Z","closed_at":"2018-02-28T03:52:54Z","merged_at":"2018-02-28T03:52:54Z","merge_commit_sha":"a14a6b8834fc35136aa0e52bb27fd73f75f83c0b","assignee":{"login":"georgeclaghorn","id":94129,"avatar_url":"https://avatars1.githubusercontent.com/u/94129?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeclaghorn","html_url":"https://github.com/georgeclaghorn","followers_url":"https://api.github.com/users/georgeclaghorn/followers","following_url":"https://api.github.com/users/georgeclaghorn/following{/other_user}","gists_url":"https://api.github.com/users/georgeclaghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeclaghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeclaghorn/subscriptions","organizations_url":"https://api.github.com/users/georgeclaghorn/orgs","repos_url":"https://api.github.com/users/georgeclaghorn/repos","events_url":"https://api.github.com/users/georgeclaghorn/events{/privacy}","received_events_url":"https://api.github.com/users/georgeclaghorn/received_events","type":"User","site_admin":false},"assignees":[{"login":"georgeclaghorn","id":94129,"avatar_url":"https://avatars1.githubusercontent.com/u/94129?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeclaghorn","html_url":"https://github.com/georgeclaghorn","followers_url":"https://api.github.com/users/georgeclaghorn/followers","following_url":"https://api.github.com/users/georgeclaghorn/following{/other_user}","gists_url":"https://api.github.com/users/georgeclaghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeclaghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeclaghorn/subscriptions","organizations_url":"https://api.github.com/users/georgeclaghorn/orgs","repos_url":"https://api.github.com/users/georgeclaghorn/repos","events_url":"https://api.github.com/users/georgeclaghorn/events{/privacy}","received_events_url":"https://api.github.com/users/georgeclaghorn/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/32087/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/32087/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/32087/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/9afec1639d42d7d9a496775cd5239fedce27ec22","head":{"label":"prikha:add-better-select-tag-option-handling","ref":"add-better-select-tag-option-handling","sha":"9afec1639d42d7d9a496775cd5239fedce27ec22","user":{"login":"prikha","id":594872,"avatar_url":"https://avatars1.githubusercontent.com/u/594872?v=4","gravatar_id":"","url":"https://api.github.com/users/prikha","html_url":"https://github.com/prikha","followers_url":"https://api.github.com/users/prikha/followers","following_url":"https://api.github.com/users/prikha/following{/other_user}","gists_url":"https://api.github.com/users/prikha/gists{/gist_id}","starred_url":"https://api.github.com/users/prikha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prikha/subscriptions","organizations_url":"https://api.github.com/users/prikha/orgs","repos_url":"https://api.github.com/users/prikha/repos","events_url":"https://api.github.com/users/prikha/events{/privacy}","received_events_url":"https://api.github.com/users/prikha/received_events","type":"User","site_admin":false},"repo":{"id":17204915,"name":"rails","full_name":"prikha/rails","owner":{"login":"prikha","id":594872,"avatar_url":"https://avatars1.githubusercontent.com/u/594872?v=4","gravatar_id":"","url":"https://api.github.com/users/prikha","html_url":"https://github.com/prikha","followers_url":"https://api.github.com/users/prikha/followers","following_url":"https://api.github.com/users/prikha/following{/other_user}","gists_url":"https://api.github.com/users/prikha/gists{/gist_id}","starred_url":"https://api.github.com/users/prikha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prikha/subscriptions","organizations_url":"https://api.github.com/users/prikha/orgs","repos_url":"https://api.github.com/users/prikha/repos","events_url":"https://api.github.com/users/prikha/events{/privacy}","received_events_url":"https://api.github.com/users/prikha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prikha/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/prikha/rails","forks_url":"https://api.github.com/repos/prikha/rails/forks","keys_url":"https://api.github.com/repos/prikha/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prikha/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prikha/rails/teams","hooks_url":"https://api.github.com/repos/prikha/rails/hooks","issue_events_url":"https://api.github.com/repos/prikha/rails/issues/events{/number}","events_url":"https://api.github.com/repos/prikha/rails/events","assignees_url":"https://api.github.com/repos/prikha/rails/assignees{/user}","branches_url":"https://api.github.com/repos/prikha/rails/branches{/branch}","tags_url":"https://api.github.com/repos/prikha/rails/tags","blobs_url":"https://api.github.com/repos/prikha/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prikha/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prikha/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/prikha/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prikha/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/prikha/rails/languages","stargazers_url":"https://api.github.com/repos/prikha/rails/stargazers","contributors_url":"https://api.github.com/repos/prikha/rails/contributors","subscribers_url":"https://api.github.com/repos/prikha/rails/subscribers","subscription_url":"https://api.github.com/repos/prikha/rails/subscription","commits_url":"https://api.github.com/repos/prikha/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/prikha/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/prikha/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/prikha/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/prikha/rails/contents/{+path}","compare_url":"https://api.github.com/repos/prikha/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prikha/rails/merges","archive_url":"https://api.github.com/repos/prikha/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prikha/rails/downloads","issues_url":"https://api.github.com/repos/prikha/rails/issues{/number}","pulls_url":"https://api.github.com/repos/prikha/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/prikha/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/prikha/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prikha/rails/labels{/name}","releases_url":"https://api.github.com/repos/prikha/rails/releases{/id}","deployments_url":"https://api.github.com/repos/prikha/rails/deployments","created_at":"2014-02-26T09:04:09Z","updated_at":"2015-03-10T00:47:44Z","pushed_at":"2018-02-27T20:36:21Z","git_url":"git://github.com/prikha/rails.git","ssh_url":"git@github.com:prikha/rails.git","clone_url":"https://github.com/prikha/rails.git","svn_url":"https://github.com/prikha/rails","homepage":"http://rubyonrails.org","size":149132,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"39d2cde65919729ec1ca3663d7872adf8036fd58","user":{"login":"rails","id":4223,"avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars1.githubusercontent.com/u/4223?v=4","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2018-02-28T02:59:28Z","pushed_at":"2018-02-28T03:52:54Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":159665,"stargazers_count":38796,"watchers_count":38796,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15693,"mirror_url":null,"archived":false,"open_issues_count":1064,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":15693,"open_issues":1064,"watchers":38796,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/32087"},"html":{"href":"https://github.com/rails/rails/pull/32087"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/32087"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/32087/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/32087/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/32087/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/9afec1639d42d7d9a496775cd5239fedce27ec22"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars3.githubusercontent.com/u/47848?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"comments":6,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":36,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"rafaelfranca"}}