{"action":"opened","issue":{"url":"https://api.github.com/repos/brainspec/enumerize/issues/295","repository_url":"https://api.github.com/repos/brainspec/enumerize","labels_url":"https://api.github.com/repos/brainspec/enumerize/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/brainspec/enumerize/issues/295/comments","events_url":"https://api.github.com/repos/brainspec/enumerize/issues/295/events","html_url":"https://github.com/brainspec/enumerize/issues/295","id":257751256,"number":295,"title":"How to use predicates with except/only options?","user":{"login":"Extazystas","id":2153311,"avatar_url":"https://avatars0.githubusercontent.com/u/2153311?v=4","gravatar_id":"","url":"https://api.github.com/users/Extazystas","html_url":"https://github.com/Extazystas","followers_url":"https://api.github.com/users/Extazystas/followers","following_url":"https://api.github.com/users/Extazystas/following{/other_user}","gists_url":"https://api.github.com/users/Extazystas/gists{/gist_id}","starred_url":"https://api.github.com/users/Extazystas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Extazystas/subscriptions","organizations_url":"https://api.github.com/users/Extazystas/orgs","repos_url":"https://api.github.com/users/Extazystas/repos","events_url":"https://api.github.com/users/Extazystas/events{/privacy}","received_events_url":"https://api.github.com/users/Extazystas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-14T14:59:11Z","updated_at":"2017-09-14T14:59:11Z","closed_at":null,"author_association":"NONE","body":"I wonder how to use `except` and `only` options. I found it in code here: https://github.com/brainspec/enumerize/blob/c65867580967724479af1bffbfbea05cbfa62db4/lib/enumerize/predicates.rb\r\n\r\nBut there are no examples how it work. E.g. I have a simple_form with enumerized `status` field. I don't want to show all options in form, so I've tried add except option everywhere, but nothing happens. Way to solve this as I can see - set up collection manually. Maybe someone can explain me how to use it properly? Thanks 🍻 "}}
{"actor":{"display_login":"Extazystas"}}