{"comment":{"url":"https://api.github.com/repos/allenwq/schema_validations/comments/14035100","html_url":"https://github.com/allenwq/schema_validations/commit/e0bce3bbd584a0c879f7284e420937caf8fd8299#commitcomment-14035100","id":14035100,"user":{"login":"ronen","id":125620,"avatar_url":"https://avatars.githubusercontent.com/u/125620?v=3","gravatar_id":"","url":"https://api.github.com/users/ronen","html_url":"https://github.com/ronen","followers_url":"https://api.github.com/users/ronen/followers","following_url":"https://api.github.com/users/ronen/following{/other_user}","gists_url":"https://api.github.com/users/ronen/gists{/gist_id}","starred_url":"https://api.github.com/users/ronen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronen/subscriptions","organizations_url":"https://api.github.com/users/ronen/orgs","repos_url":"https://api.github.com/users/ronen/repos","events_url":"https://api.github.com/users/ronen/events{/privacy}","received_events_url":"https://api.github.com/users/ronen/received_events","type":"User","site_admin":false},"position":20,"line":171,"path":"lib/schema_validations/active_record/validations.rb","commit_id":"e0bce3bbd584a0c879f7284e420937caf8fd8299","created_at":"2015-10-28T10:51:18Z","updated_at":"2015-10-28T10:51:18Z","body":"OK I'll admit I sometimes get obsessive about the output too :)  In that case, I'd go with\r\n\r\n```ruby\r\noptions = {}\r\noptions[:allow_nil] = true\r\noptions[:scope] = scope\r\noptions[:case_sensitive] = false if has_case_sensitive_index?(column, scope)\r\noptions[:if] = proc do ...\r\n    end\r\n```\r\n"}}