{"action":"created","issue":{"url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/388","labels_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/388/comments","events_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/388/events","html_url":"https://github.com/activescaffold/active_scaffold/issues/388","id":56772780,"number":388,"title":"Cannot override required = false","user":{"login":"vtt","id":780399,"avatar_url":"https://avatars.githubusercontent.com/u/780399?v=3","gravatar_id":"","url":"https://api.github.com/users/vtt","html_url":"https://github.com/vtt","followers_url":"https://api.github.com/users/vtt/followers","following_url":"https://api.github.com/users/vtt/following{/other_user}","gists_url":"https://api.github.com/users/vtt/gists{/gist_id}","starred_url":"https://api.github.com/users/vtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtt/subscriptions","organizations_url":"https://api.github.com/users/vtt/orgs","repos_url":"https://api.github.com/users/vtt/repos","events_url":"https://api.github.com/users/vtt/events{/privacy}","received_events_url":"https://api.github.com/users/vtt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T05:43:32Z","updated_at":"2015-02-06T08:17:56Z","closed_at":"2015-02-06T08:17:56Z","body":"I have a table with fields that cannot be null thus AS automatically makes the columns to have 'required => true'.\r\n\r\nThis cannot be overrided by forcing config.columns[:field].required = false; as it still show required as true.\r\n\r\n(there is a before_save callback that validate/fills the value to be non-null)"},"comment":{"url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/comments/73201414","html_url":"https://github.com/activescaffold/active_scaffold/issues/388#issuecomment-73201414","issue_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/388","id":73201414,"user":{"login":"vtt","id":780399,"avatar_url":"https://avatars.githubusercontent.com/u/780399?v=3","gravatar_id":"","url":"https://api.github.com/users/vtt","html_url":"https://github.com/vtt","followers_url":"https://api.github.com/users/vtt/followers","following_url":"https://api.github.com/users/vtt/following{/other_user}","gists_url":"https://api.github.com/users/vtt/gists{/gist_id}","starred_url":"https://api.github.com/users/vtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtt/subscriptions","organizations_url":"https://api.github.com/users/vtt/orgs","repos_url":"https://api.github.com/users/vtt/repos","events_url":"https://api.github.com/users/vtt/events{/privacy}","received_events_url":"https://api.github.com/users/vtt/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T08:17:56Z","updated_at":"2015-02-06T08:17:56Z","body":"You are quite correct; the model has presence validation (missed that in the wiki).\r\n"}}