{"action":"closed","issue":{"url":"https://api.github.com/repos/vprokopchuk256/mv-postgresql/issues/5","labels_url":"https://api.github.com/repos/vprokopchuk256/mv-postgresql/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/vprokopchuk256/mv-postgresql/issues/5/comments","events_url":"https://api.github.com/repos/vprokopchuk256/mv-postgresql/issues/5/events","html_url":"https://github.com/vprokopchuk256/mv-postgresql/issues/5","id":115059952,"number":5,"title":"Allow `nil` for inclusion validation","user":{"login":"greyblake","id":113512,"avatar_url":"https://avatars.githubusercontent.com/u/113512?v=3","gravatar_id":"","url":"https://api.github.com/users/greyblake","html_url":"https://github.com/greyblake","followers_url":"https://api.github.com/users/greyblake/followers","following_url":"https://api.github.com/users/greyblake/following{/other_user}","gists_url":"https://api.github.com/users/greyblake/gists{/gist_id}","starred_url":"https://api.github.com/users/greyblake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greyblake/subscriptions","organizations_url":"https://api.github.com/users/greyblake/orgs","repos_url":"https://api.github.com/users/greyblake/repos","events_url":"https://api.github.com/users/greyblake/events{/privacy}","received_events_url":"https://api.github.com/users/greyblake/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T14:14:40Z","updated_at":"2015-11-04T14:23:11Z","closed_at":"2015-11-04T14:23:11Z","body":"Hi, thanks for the nice gem!\r\n\r\nI wonder, is it possible to instrcut `inclusion` validator to allow `NULL` for nullable columns?\r\nE.g. like this:\r\n```ruby\r\nvalidates :table_name, :column_name, inclusion: { in: [nil, 1, 2, 3] }\r\n```\r\n\r\nСпасибо)"}}