{"action":"created","issue":{"url":"https://api.github.com/repos/plataformatec/simple_form/issues/1423","repository_url":"https://api.github.com/repos/plataformatec/simple_form","labels_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1423/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1423/comments","events_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1423/events","html_url":"https://github.com/plataformatec/simple_form/issues/1423","id":173572121,"number":1423,"title":"include_blank seems to broken since v3.3.0","user":{"login":"kapso","id":344198,"avatar_url":"https://avatars.githubusercontent.com/u/344198?v=3","gravatar_id":"","url":"https://api.github.com/users/kapso","html_url":"https://github.com/kapso","followers_url":"https://api.github.com/users/kapso/followers","following_url":"https://api.github.com/users/kapso/following{/other_user}","gists_url":"https://api.github.com/users/kapso/gists{/gist_id}","starred_url":"https://api.github.com/users/kapso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapso/subscriptions","organizations_url":"https://api.github.com/users/kapso/orgs","repos_url":"https://api.github.com/users/kapso/repos","events_url":"https://api.github.com/users/kapso/events{/privacy}","received_events_url":"https://api.github.com/users/kapso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-27T02:03:31Z","updated_at":"2016-11-26T10:43:42Z","closed_at":null,"body":"include_blank for input field is broken.\n\nWorks fine in `3.2.1` but after upgrade it stopped working.\n"},"comment":{"url":"https://api.github.com/repos/plataformatec/simple_form/issues/comments/263056609","html_url":"https://github.com/plataformatec/simple_form/issues/1423#issuecomment-263056609","issue_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1423","id":263056609,"user":{"login":"VelizarHristov","id":3821047,"avatar_url":"https://avatars.githubusercontent.com/u/3821047?v=3","gravatar_id":"","url":"https://api.github.com/users/VelizarHristov","html_url":"https://github.com/VelizarHristov","followers_url":"https://api.github.com/users/VelizarHristov/followers","following_url":"https://api.github.com/users/VelizarHristov/following{/other_user}","gists_url":"https://api.github.com/users/VelizarHristov/gists{/gist_id}","starred_url":"https://api.github.com/users/VelizarHristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VelizarHristov/subscriptions","organizations_url":"https://api.github.com/users/VelizarHristov/orgs","repos_url":"https://api.github.com/users/VelizarHristov/repos","events_url":"https://api.github.com/users/VelizarHristov/events{/privacy}","received_events_url":"https://api.github.com/users/VelizarHristov/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T10:43:42Z","updated_at":"2016-11-26T10:43:42Z","body":"On 3.3.1 I get an exception for the following code:\r\n\r\n`f.input :address_id,\r\n              collection: @addresses,\r\n              label_method: :display,\r\n              include_blank: false,\r\n              required: true`\r\n\r\nOn 3.2.1, I used include_blank: false because otherwise I get a blank option on the top of the select which is selected by default, but my select box has only one option most of the time (few customers have multiple addresses), so the user usually doesn't need to do anything with the select. With a blank option, they will have to use the select always, most of the time to select the only option there.\r\n\r\nOn 3.3.1 everything works the same except that I get an error with include_blank: false. Without it, I get the unneeded blank field."}}
{"actor":{"display_login":"VelizarHristov"}}