{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/1","id":39301314,"html_url":"https://github.com/rmathew1992/validates_overlap/pull/1","diff_url":"https://github.com/rmathew1992/validates_overlap/pull/1.diff","patch_url":"https://github.com/rmathew1992/validates_overlap/pull/1.patch","issue_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/1","number":1,"state":"closed","locked":false,"title":"Check to see if the primary key is a string, if so, pass the string in sql call","user":{"login":"rmathew1992","id":2595311,"avatar_url":"https://avatars.githubusercontent.com/u/2595311?v=3","gravatar_id":"","url":"https://api.github.com/users/rmathew1992","html_url":"https://github.com/rmathew1992","followers_url":"https://api.github.com/users/rmathew1992/followers","following_url":"https://api.github.com/users/rmathew1992/following{/other_user}","gists_url":"https://api.github.com/users/rmathew1992/gists{/gist_id}","starred_url":"https://api.github.com/users/rmathew1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmathew1992/subscriptions","organizations_url":"https://api.github.com/users/rmathew1992/orgs","repos_url":"https://api.github.com/users/rmathew1992/repos","events_url":"https://api.github.com/users/rmathew1992/events{/privacy}","received_events_url":"https://api.github.com/users/rmathew1992/received_events","type":"User","site_admin":false},"body":"In our application certain primary_keys are stored in the form of UUIDs. Unlike regular IDs UUIDs are  strings.\r\n\r\nUnfortunately this is not yet supported while updating a record. Currently \"....!= #{record.send(primary_key_name)}\" inserts the primary key value stripping it of quotation marks. \r\n\r\nThis PR checks to see if the primary key should be a string. If so it inserts them. \r\n\r\n\r\n","created_at":"2015-07-06T19:21:47Z","updated_at":"2015-07-07T21:02:07Z","closed_at":"2015-07-07T21:02:07Z","merged_at":"2015-07-07T21:02:07Z","merge_commit_sha":"c092956103af6ba2d798b44c6c6751dc8b67c62c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/1/comments","statuses_url":"https://api.github.com/repos/rmathew1992/validates_overlap/statuses/94e37e0472e9f65e402306c54025bbcb449c70e8","head":{"label":"rmathew1992:validator-supports-uuid","ref":"validator-supports-uuid","sha":"94e37e0472e9f65e402306c54025bbcb449c70e8","user":{"login":"rmathew1992","id":2595311,"avatar_url":"https://avatars.githubusercontent.com/u/2595311?v=3","gravatar_id":"","url":"https://api.github.com/users/rmathew1992","html_url":"https://github.com/rmathew1992","followers_url":"https://api.github.com/users/rmathew1992/followers","following_url":"https://api.github.com/users/rmathew1992/following{/other_user}","gists_url":"https://api.github.com/users/rmathew1992/gists{/gist_id}","starred_url":"https://api.github.com/users/rmathew1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmathew1992/subscriptions","organizations_url":"https://api.github.com/users/rmathew1992/orgs","repos_url":"https://api.github.com/users/rmathew1992/repos","events_url":"https://api.github.com/users/rmathew1992/events{/privacy}","received_events_url":"https://api.github.com/users/rmathew1992/received_events","type":"User","site_admin":false},"repo":{"id":38636669,"name":"validates_overlap","full_name":"rmathew1992/validates_overlap","owner":{"login":"rmathew1992","id":2595311,"avatar_url":"https://avatars.githubusercontent.com/u/2595311?v=3","gravatar_id":"","url":"https://api.github.com/users/rmathew1992","html_url":"https://github.com/rmathew1992","followers_url":"https://api.github.com/users/rmathew1992/followers","following_url":"https://api.github.com/users/rmathew1992/following{/other_user}","gists_url":"https://api.github.com/users/rmathew1992/gists{/gist_id}","starred_url":"https://api.github.com/users/rmathew1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmathew1992/subscriptions","organizations_url":"https://api.github.com/users/rmathew1992/orgs","repos_url":"https://api.github.com/users/rmathew1992/repos","events_url":"https://api.github.com/users/rmathew1992/events{/privacy}","received_events_url":"https://api.github.com/users/rmathew1992/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmathew1992/validates_overlap","description":"Gem for Rails 3 and 4, that helps validate overlap","fork":true,"url":"https://api.github.com/repos/rmathew1992/validates_overlap","forks_url":"https://api.github.com/repos/rmathew1992/validates_overlap/forks","keys_url":"https://api.github.com/repos/rmathew1992/validates_overlap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmathew1992/validates_overlap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmathew1992/validates_overlap/teams","hooks_url":"https://api.github.com/repos/rmathew1992/validates_overlap/hooks","issue_events_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/events{/number}","events_url":"https://api.github.com/repos/rmathew1992/validates_overlap/events","assignees_url":"https://api.github.com/repos/rmathew1992/validates_overlap/assignees{/user}","branches_url":"https://api.github.com/repos/rmathew1992/validates_overlap/branches{/branch}","tags_url":"https://api.github.com/repos/rmathew1992/validates_overlap/tags","blobs_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmathew1992/validates_overlap/statuses/{sha}","languages_url":"https://api.github.com/repos/rmathew1992/validates_overlap/languages","stargazers_url":"https://api.github.com/repos/rmathew1992/validates_overlap/stargazers","contributors_url":"https://api.github.com/repos/rmathew1992/validates_overlap/contributors","subscribers_url":"https://api.github.com/repos/rmathew1992/validates_overlap/subscribers","subscription_url":"https://api.github.com/repos/rmathew1992/validates_overlap/subscription","commits_url":"https://api.github.com/repos/rmathew1992/validates_overlap/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmathew1992/validates_overlap/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmathew1992/validates_overlap/contents/{+path}","compare_url":"https://api.github.com/repos/rmathew1992/validates_overlap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmathew1992/validates_overlap/merges","archive_url":"https://api.github.com/repos/rmathew1992/validates_overlap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmathew1992/validates_overlap/downloads","issues_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues{/number}","pulls_url":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls{/number}","milestones_url":"https://api.github.com/repos/rmathew1992/validates_overlap/milestones{/number}","notifications_url":"https://api.github.com/repos/rmathew1992/validates_overlap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmathew1992/validates_overlap/labels{/name}","releases_url":"https://api.github.com/repos/rmathew1992/validates_overlap/releases{/id}","created_at":"2015-07-06T18:05:48Z","updated_at":"2015-07-06T18:05:49Z","pushed_at":"2015-07-07T21:02:07Z","git_url":"git://github.com/rmathew1992/validates_overlap.git","ssh_url":"git@github.com:rmathew1992/validates_overlap.git","clone_url":"https://github.com/rmathew1992/validates_overlap.git","svn_url":"https://github.com/rmathew1992/validates_overlap","homepage":"https://github.com/robinbortlik/validates_overlap","size":401,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rmathew1992:master","ref":"master","sha":"81ad8887a0c78847b886d2c87296bce270c9e63e","user":{"login":"rmathew1992","id":2595311,"avatar_url":"https://avatars.githubusercontent.com/u/2595311?v=3","gravatar_id":"","url":"https://api.github.com/users/rmathew1992","html_url":"https://github.com/rmathew1992","followers_url":"https://api.github.com/users/rmathew1992/followers","following_url":"https://api.github.com/users/rmathew1992/following{/other_user}","gists_url":"https://api.github.com/users/rmathew1992/gists{/gist_id}","starred_url":"https://api.github.com/users/rmathew1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmathew1992/subscriptions","organizations_url":"https://api.github.com/users/rmathew1992/orgs","repos_url":"https://api.github.com/users/rmathew1992/repos","events_url":"https://api.github.com/users/rmathew1992/events{/privacy}","received_events_url":"https://api.github.com/users/rmathew1992/received_events","type":"User","site_admin":false},"repo":{"id":38636669,"name":"validates_overlap","full_name":"rmathew1992/validates_overlap","owner":{"login":"rmathew1992","id":2595311,"avatar_url":"https://avatars.githubusercontent.com/u/2595311?v=3","gravatar_id":"","url":"https://api.github.com/users/rmathew1992","html_url":"https://github.com/rmathew1992","followers_url":"https://api.github.com/users/rmathew1992/followers","following_url":"https://api.github.com/users/rmathew1992/following{/other_user}","gists_url":"https://api.github.com/users/rmathew1992/gists{/gist_id}","starred_url":"https://api.github.com/users/rmathew1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmathew1992/subscriptions","organizations_url":"https://api.github.com/users/rmathew1992/orgs","repos_url":"https://api.github.com/users/rmathew1992/repos","events_url":"https://api.github.com/users/rmathew1992/events{/privacy}","received_events_url":"https://api.github.com/users/rmathew1992/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmathew1992/validates_overlap","description":"Gem for Rails 3 and 4, that helps validate overlap","fork":true,"url":"https://api.github.com/repos/rmathew1992/validates_overlap","forks_url":"https://api.github.com/repos/rmathew1992/validates_overlap/forks","keys_url":"https://api.github.com/repos/rmathew1992/validates_overlap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmathew1992/validates_overlap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmathew1992/validates_overlap/teams","hooks_url":"https://api.github.com/repos/rmathew1992/validates_overlap/hooks","issue_events_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/events{/number}","events_url":"https://api.github.com/repos/rmathew1992/validates_overlap/events","assignees_url":"https://api.github.com/repos/rmathew1992/validates_overlap/assignees{/user}","branches_url":"https://api.github.com/repos/rmathew1992/validates_overlap/branches{/branch}","tags_url":"https://api.github.com/repos/rmathew1992/validates_overlap/tags","blobs_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmathew1992/validates_overlap/statuses/{sha}","languages_url":"https://api.github.com/repos/rmathew1992/validates_overlap/languages","stargazers_url":"https://api.github.com/repos/rmathew1992/validates_overlap/stargazers","contributors_url":"https://api.github.com/repos/rmathew1992/validates_overlap/contributors","subscribers_url":"https://api.github.com/repos/rmathew1992/validates_overlap/subscribers","subscription_url":"https://api.github.com/repos/rmathew1992/validates_overlap/subscription","commits_url":"https://api.github.com/repos/rmathew1992/validates_overlap/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmathew1992/validates_overlap/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmathew1992/validates_overlap/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmathew1992/validates_overlap/contents/{+path}","compare_url":"https://api.github.com/repos/rmathew1992/validates_overlap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmathew1992/validates_overlap/merges","archive_url":"https://api.github.com/repos/rmathew1992/validates_overlap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmathew1992/validates_overlap/downloads","issues_url":"https://api.github.com/repos/rmathew1992/validates_overlap/issues{/number}","pulls_url":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls{/number}","milestones_url":"https://api.github.com/repos/rmathew1992/validates_overlap/milestones{/number}","notifications_url":"https://api.github.com/repos/rmathew1992/validates_overlap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmathew1992/validates_overlap/labels{/name}","releases_url":"https://api.github.com/repos/rmathew1992/validates_overlap/releases{/id}","created_at":"2015-07-06T18:05:48Z","updated_at":"2015-07-06T18:05:49Z","pushed_at":"2015-07-07T21:02:07Z","git_url":"git://github.com/rmathew1992/validates_overlap.git","ssh_url":"git@github.com:rmathew1992/validates_overlap.git","clone_url":"https://github.com/rmathew1992/validates_overlap.git","svn_url":"https://github.com/rmathew1992/validates_overlap","homepage":"https://github.com/robinbortlik/validates_overlap","size":401,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/1"},"html":{"href":"https://github.com/rmathew1992/validates_overlap/pull/1"},"issue":{"href":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/1"},"comments":{"href":"https://api.github.com/repos/rmathew1992/validates_overlap/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rmathew1992/validates_overlap/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rmathew1992/validates_overlap/statuses/94e37e0472e9f65e402306c54025bbcb449c70e8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rmathew1992","id":2595311,"avatar_url":"https://avatars.githubusercontent.com/u/2595311?v=3","gravatar_id":"","url":"https://api.github.com/users/rmathew1992","html_url":"https://github.com/rmathew1992","followers_url":"https://api.github.com/users/rmathew1992/followers","following_url":"https://api.github.com/users/rmathew1992/following{/other_user}","gists_url":"https://api.github.com/users/rmathew1992/gists{/gist_id}","starred_url":"https://api.github.com/users/rmathew1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmathew1992/subscriptions","organizations_url":"https://api.github.com/users/rmathew1992/orgs","repos_url":"https://api.github.com/users/rmathew1992/repos","events_url":"https://api.github.com/users/rmathew1992/events{/privacy}","received_events_url":"https://api.github.com/users/rmathew1992/received_events","type":"User","site_admin":false},"comments":0,"review_comments":15,"commits":5,"additions":55,"deletions":2,"changed_files":5}}