{"action":"created","issue":{"url":"https://api.github.com/repos/sunlightlabs/congress/issues/509","labels_url":"https://api.github.com/repos/sunlightlabs/congress/issues/509/labels{/name}","comments_url":"https://api.github.com/repos/sunlightlabs/congress/issues/509/comments","events_url":"https://api.github.com/repos/sunlightlabs/congress/issues/509/events","html_url":"https://github.com/sunlightlabs/congress/pull/509","id":113274719,"number":509,"title":"Modified value_for to support arbitrary cases for input booleans.","user":{"login":"ben-zen","id":1884340,"avatar_url":"https://avatars.githubusercontent.com/u/1884340?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-zen","html_url":"https://github.com/ben-zen","followers_url":"https://api.github.com/users/ben-zen/followers","following_url":"https://api.github.com/users/ben-zen/following{/other_user}","gists_url":"https://api.github.com/users/ben-zen/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-zen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-zen/subscriptions","organizations_url":"https://api.github.com/users/ben-zen/orgs","repos_url":"https://api.github.com/users/ben-zen/repos","events_url":"https://api.github.com/users/ben-zen/events{/privacy}","received_events_url":"https://api.github.com/users/ben-zen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-26T02:45:59Z","updated_at":"2015-10-26T03:28:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sunlightlabs/congress/pulls/509","html_url":"https://github.com/sunlightlabs/congress/pull/509","diff_url":"https://github.com/sunlightlabs/congress/pull/509.diff","patch_url":"https://github.com/sunlightlabs/congress/pull/509.patch"},"body":"This fix addresses #508 by adding case-insensitive comparisons for \"true\" and \"false\", while maintaining nil-checking."},"comment":{"url":"https://api.github.com/repos/sunlightlabs/congress/issues/comments/151013686","html_url":"https://github.com/sunlightlabs/congress/pull/509#issuecomment-151013686","issue_url":"https://api.github.com/repos/sunlightlabs/congress/issues/509","id":151013686,"user":{"login":"ben-zen","id":1884340,"avatar_url":"https://avatars.githubusercontent.com/u/1884340?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-zen","html_url":"https://github.com/ben-zen","followers_url":"https://api.github.com/users/ben-zen/followers","following_url":"https://api.github.com/users/ben-zen/following{/other_user}","gists_url":"https://api.github.com/users/ben-zen/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-zen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-zen/subscriptions","organizations_url":"https://api.github.com/users/ben-zen/orgs","repos_url":"https://api.github.com/users/ben-zen/repos","events_url":"https://api.github.com/users/ben-zen/events{/privacy}","received_events_url":"https://api.github.com/users/ben-zen/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T03:28:32Z","updated_at":"2015-10-26T03:28:32Z","body":"So, I kept the same basic idea as the original code and just added some nil-checking before calling downcase on the object; I didn't add any test code yet, however, since I'm not particularly familiar with how to work with these tests (including running them), and it looks like the test code didn't even handle boolean parsing at any point in the past. Could you walk me through what you'd suggest for a change, and how to work with it?"}}