GitHub PullRequestEvent at 2014-08-26 16:38:17
Repository: active_scaffold
Actor: forain
Payload: {"action":"opened","number":364,"pull_request":{"url":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/364","id":20321038,"html_url":"https://github.com/activescaffold/active_scaffold/pull/364","diff_url":"https://github.com/activescaffold/active_scaffold/pull/364.diff","patch_url":"https://github.com/activescaffold/active_scaffold/pull/364.patch","issue_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/364","number":364,"state":"open","locked":false,"title":"inverted comparison to avoid typecast errors","user":{"login":"forain","id":28796,"avatar_url":"https://avatars.githubusercontent.com/u/28796?v=2","gravatar_id":"366536c3e21defaa6b61c2c7df698c32","url":"https://api.github.com/users/forain","html_url":"https://github.com/forain","followers_url":"https://api.github.com/users/forain/followers","following_url":"https://api.github.com/users/forain/following{/other_user}","gists_url":"https://api.github.com/users/forain/gists{/gist_id}","starred_url":"https://api.github.com/users/forain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forain/subscriptions","organizations_url":"https://api.github.com/users/forain/orgs","repos_url":"https://api.github.com/users/forain/repos","events_url":"https://api.github.com/users/forain/events{/privacy}","received_events_url":"https://api.github.com/users/forain/received_events","type":"User","site_admin":false},"body":"Forcing boolean to be cast to integer when comparing to column_value of IPAddr class (PostgreSQL inet column type) resulted in \"undefined method `to_i' for false:FalseClass\". Inverting the comparison from: column_value != false, to: false != column_value, forced the typecast to the way around.","created_at":"2014-08-26T16:38:16Z","updated_at":"2014-08-26T16:38:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/364/commits","review_comments_url":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/364/comments","review_comment_url":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/comments/{number}","comments_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/364/comments","statuses_url":"https://api.github.com/repos/activescaffold/active_scaffold/statuses/57de05e9d6892951f1b689f3f1f87e934bc05512","head":{"label":"forain:master","ref":"master","sha":"57de05e9d6892951f1b689f3f1f87e934bc05512","user":{"login":"forain","id":28796,"avatar_url":"https://avatars.githubusercontent.com/u/28796?v=2","gravatar_id":"366536c3e21defaa6b61c2c7df698c32","url":"https://api.github.com/users/forain","html_url":"https://github.com/forain","followers_url":"https://api.github.com/users/forain/followers","following_url":"https://api.github.com/users/forain/following{/other_user}","gists_url":"https://api.github.com/users/forain/gists{/gist_id}","starred_url":"https://api.github.com/users/forain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forain/subscriptions","organizations_url":"https://api.github.com/users/forain/orgs","repos_url":"https://api.github.com/users/forain/repos","events_url":"https://api.github.com/users/forain/events{/privacy}","received_events_url":"https://api.github.com/users/forain/received_events","type":"User","site_admin":false},"repo":{"id":23358484,"name":"active_scaffold","full_name":"forain/active_scaffold","owner":{"login":"forain","id":28796,"avatar_url":"https://avatars.githubusercontent.com/u/28796?v=2","gravatar_id":"366536c3e21defaa6b61c2c7df698c32","url":"https://api.github.com/users/forain","html_url":"https://github.com/forain","followers_url":"https://api.github.com/users/forain/followers","following_url":"https://api.github.com/users/forain/following{/other_user}","gists_url":"https://api.github.com/users/forain/gists{/gist_id}","starred_url":"https://api.github.com/users/forain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forain/subscriptions","organizations_url":"https://api.github.com/users/forain/orgs","repos_url":"https://api.github.com/users/forain/repos","events_url":"https://api.github.com/users/forain/events{/privacy}","received_events_url":"https://api.github.com/users/forain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/forain/active_scaffold","description":"Save time and headaches, and create a more easily maintainable set of pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems.","fork":true,"url":"https://api.github.com/repos/forain/active_scaffold","forks_url":"https://api.github.com/repos/forain/active_scaffold/forks","keys_url":"https://api.github.com/repos/forain/active_scaffold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forain/active_scaffold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forain/active_scaffold/teams","hooks_url":"https://api.github.com/repos/forain/active_scaffold/hooks","issue_events_url":"https://api.github.com/repos/forain/active_scaffold/issues/events{/number}","events_url":"https://api.github.com/repos/forain/active_scaffold/events","assignees_url":"https://api.github.com/repos/forain/active_scaffold/assignees{/user}","branches_url":"https://api.github.com/repos/forain/active_scaffold/branches{/branch}","tags_url":"https://api.github.com/repos/forain/active_scaffold/tags","blobs_url":"https://api.github.com/repos/forain/active_scaffold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forain/active_scaffold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forain/active_scaffold/git/refs{/sha}","trees_url":"https://api.github.com/repos/forain/active_scaffold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forain/active_scaffold/statuses/{sha}","languages_url":"https://api.github.com/repos/forain/active_scaffold/languages","stargazers_url":"https://api.github.com/repos/forain/active_scaffold/stargazers","contributors_url":"https://api.github.com/repos/forain/active_scaffold/contributors","subscribers_url":"https://api.github.com/repos/forain/active_scaffold/subscribers","subscription_url":"https://api.github.com/repos/forain/active_scaffold/subscription","commits_url":"https://api.github.com/repos/forain/active_scaffold/commits{/sha}","git_commits_url":"https://api.github.com/repos/forain/active_scaffold/git/commits{/sha}","comments_url":"https://api.github.com/repos/forain/active_scaffold/comments{/number}","issue_comment_url":"https://api.github.com/repos/forain/active_scaffold/issues/comments/{number}","contents_url":"https://api.github.com/repos/forain/active_scaffold/contents/{+path}","compare_url":"https://api.github.com/repos/forain/active_scaffold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forain/active_scaffold/merges","archive_url":"https://api.github.com/repos/forain/active_scaffold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forain/active_scaffold/downloads","issues_url":"https://api.github.com/repos/forain/active_scaffold/issues{/number}","pulls_url":"https://api.github.com/repos/forain/active_scaffold/pulls{/number}","milestones_url":"https://api.github.com/repos/forain/active_scaffold/milestones{/number}","notifications_url":"https://api.github.com/repos/forain/active_scaffold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forain/active_scaffold/labels{/name}","releases_url":"https://api.github.com/repos/forain/active_scaffold/releases{/id}","created_at":"2014-08-26T16:18:58Z","updated_at":"2014-08-26T16:34:08Z","pushed_at":"2014-08-26T16:34:08Z","git_url":"git://github.com/forain/active_scaffold.git","ssh_url":"git@github.com:forain/active_scaffold.git","clone_url":"https://github.com/forain/active_scaffold.git","svn_url":"https://github.com/forain/active_scaffold","homepage":"http://activescaffold.com","size":22578,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"activescaffold:master","ref":"master","sha":"d3f58cd8dcad3ee7d9e08bb03d216bb741cea9e5","user":{"login":"activescaffold","id":11083,"avatar_url":"https://avatars.githubusercontent.com/u/11083?v=2","gravatar_id":"27970e8b350f7caf6a3c27e3d36af450","url":"https://api.github.com/users/activescaffold","html_url":"https://github.com/activescaffold","followers_url":"https://api.github.com/users/activescaffold/followers","following_url":"https://api.github.com/users/activescaffold/following{/other_user}","gists_url":"https://api.github.com/users/activescaffold/gists{/gist_id}","starred_url":"https://api.github.com/users/activescaffold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activescaffold/subscriptions","organizations_url":"https://api.github.com/users/activescaffold/orgs","repos_url":"https://api.github.com/users/activescaffold/repos","events_url":"https://api.github.com/users/activescaffold/events{/privacy}","received_events_url":"https://api.github.com/users/activescaffold/received_events","type":"Organization","site_admin":false},"repo":{"id":18639,"name":"active_scaffold","full_name":"activescaffold/active_scaffold","owner":{"login":"activescaffold","id":11083,"avatar_url":"https://avatars.githubusercontent.com/u/11083?v=2","gravatar_id":"27970e8b350f7caf6a3c27e3d36af450","url":"https://api.github.com/users/activescaffold","html_url":"https://github.com/activescaffold","followers_url":"https://api.github.com/users/activescaffold/followers","following_url":"https://api.github.com/users/activescaffold/following{/other_user}","gists_url":"https://api.github.com/users/activescaffold/gists{/gist_id}","starred_url":"https://api.github.com/users/activescaffold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activescaffold/subscriptions","organizations_url":"https://api.github.com/users/activescaffold/orgs","repos_url":"https://api.github.com/users/activescaffold/repos","events_url":"https://api.github.com/users/activescaffold/events{/privacy}","received_events_url":"https://api.github.com/users/activescaffold/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activescaffold/active_scaffold","description":"Save time and headaches, and create a more easily maintainable set of pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems.","fork":false,"url":"https://api.github.com/repos/activescaffold/active_scaffold","forks_url":"https://api.github.com/repos/activescaffold/active_scaffold/forks","keys_url":"https://api.github.com/repos/activescaffold/active_scaffold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activescaffold/active_scaffold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activescaffold/active_scaffold/teams","hooks_url":"https://api.github.com/repos/activescaffold/active_scaffold/hooks","issue_events_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/events{/number}","events_url":"https://api.github.com/repos/activescaffold/active_scaffold/events","assignees_url":"https://api.github.com/repos/activescaffold/active_scaffold/assignees{/user}","branches_url":"https://api.github.com/repos/activescaffold/active_scaffold/branches{/branch}","tags_url":"https://api.github.com/repos/activescaffold/active_scaffold/tags","blobs_url":"https://api.github.com/repos/activescaffold/active_scaffold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activescaffold/active_scaffold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activescaffold/active_scaffold/git/refs{/sha}","trees_url":"https://api.github.com/repos/activescaffold/active_scaffold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activescaffold/active_scaffold/statuses/{sha}","languages_url":"https://api.github.com/repos/activescaffold/active_scaffold/languages","stargazers_url":"https://api.github.com/repos/activescaffold/active_scaffold/stargazers","contributors_url":"https://api.github.com/repos/activescaffold/active_scaffold/contributors","subscribers_url":"https://api.github.com/repos/activescaffold/active_scaffold/subscribers","subscription_url":"https://api.github.com/repos/activescaffold/active_scaffold/subscription","commits_url":"https://api.github.com/repos/activescaffold/active_scaffold/commits{/sha}","git_commits_url":"https://api.github.com/repos/activescaffold/active_scaffold/git/commits{/sha}","comments_url":"https://api.github.com/repos/activescaffold/active_scaffold/comments{/number}","issue_comment_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues/comments/{number}","contents_url":"https://api.github.com/repos/activescaffold/active_scaffold/contents/{+path}","compare_url":"https://api.github.com/repos/activescaffold/active_scaffold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activescaffold/active_scaffold/merges","archive_url":"https://api.github.com/repos/activescaffold/active_scaffold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activescaffold/active_scaffold/downloads","issues_url":"https://api.github.com/repos/activescaffold/active_scaffold/issues{/number}","pulls_url":"https://api.github.com/repos/activescaffold/active_scaffold/pulls{/number}","milestones_url":"https://api.github.com/repos/activescaffold/active_scaffold/milestones{/number}","notifications_url":"https://api.github.com/repos/activescaffold/active_scaffold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activescaffold/active_scaffold/labels{/name}","releases_url":"https://api.github.com/repos/activescaffold/active_scaffold/releases{/id}","created_at":"2008-05-21T17:47:42Z","updated_at":"2014-08-19T03:43:11Z","pushed_at":"2014-08-26T11:46:58Z","git_url":"git://github.com/activescaffold/active_scaffold.git","ssh_url":"git@github.com:activescaffold/active_scaffold.git","clone_url":"https://github.com/activescaffold/active_scaffold.git","svn_url":"https://github.com/activescaffold/active_scaffold","homepage":"http://activescaffold.com","size":22578,"stargazers_count":859,"watchers_count":859,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":280,"mirror_url":null,"open_issues_count":16,"forks":280,"open_issues":16,"watchers":859,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/364"},"html":{"href":"https://github.com/activescaffold/active_scaffold/pull/364"},"issue":{"href":"https://api.github.com/repos/activescaffold/active_scaffold/issues/364"},"comments":{"href":"https://api.github.com/repos/activescaffold/active_scaffold/issues/364/comments"},"review_comments":{"href":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/364/comments"},"review_comment":{"href":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/activescaffold/active_scaffold/pulls/364/commits"},"statuses":{"href":"https://api.github.com/repos/activescaffold/active_scaffold/statuses/57de05e9d6892951f1b689f3f1f87e934bc05512"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}