{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/9","id":34449420,"html_url":"https://github.com/ausaccessfed/valhammer/pull/9","diff_url":"https://github.com/ausaccessfed/valhammer/pull/9.diff","patch_url":"https://github.com/ausaccessfed/valhammer/pull/9.patch","issue_url":"https://api.github.com/repos/ausaccessfed/valhammer/issues/9","number":9,"state":"closed","locked":false,"title":"Allow valhammer to work with enum in Rails 4.1","user":{"login":"bradleybeddoes","id":86558,"avatar_url":"https://avatars.githubusercontent.com/u/86558?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleybeddoes","html_url":"https://github.com/bradleybeddoes","followers_url":"https://api.github.com/users/bradleybeddoes/followers","following_url":"https://api.github.com/users/bradleybeddoes/following{/other_user}","gists_url":"https://api.github.com/users/bradleybeddoes/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleybeddoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleybeddoes/subscriptions","organizations_url":"https://api.github.com/users/bradleybeddoes/orgs","repos_url":"https://api.github.com/users/bradleybeddoes/repos","events_url":"https://api.github.com/users/bradleybeddoes/events{/privacy}","received_events_url":"https://api.github.com/users/bradleybeddoes/received_events","type":"User","site_admin":false},"body":"Previously integer columns used with new enum support in Rails 4.1\r\nwould fail with something like:\r\n\r\n```\r\n.../.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/activerecord-4.2.1/lib/active_record/validations.rb:79:in\r\n`raise_record_invalid': Validation failed: xyz is not a number\r\n(ActiveRecord::RecordInvalid)\r\n```","created_at":"2015-04-30T11:06:08Z","updated_at":"2015-04-30T21:04:16Z","closed_at":"2015-04-30T21:04:16Z","merged_at":"2015-04-30T21:04:16Z","merge_commit_sha":"f47e67b38300cb74fad5b3950ab148cc24a40a30","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/9/commits","review_comments_url":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/9/comments","review_comment_url":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ausaccessfed/valhammer/issues/9/comments","statuses_url":"https://api.github.com/repos/ausaccessfed/valhammer/statuses/da4f06499efe8d76ae7e0092d63c05b7f834ffdd","head":{"label":"bradleybeddoes:develop","ref":"develop","sha":"da4f06499efe8d76ae7e0092d63c05b7f834ffdd","user":{"login":"bradleybeddoes","id":86558,"avatar_url":"https://avatars.githubusercontent.com/u/86558?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleybeddoes","html_url":"https://github.com/bradleybeddoes","followers_url":"https://api.github.com/users/bradleybeddoes/followers","following_url":"https://api.github.com/users/bradleybeddoes/following{/other_user}","gists_url":"https://api.github.com/users/bradleybeddoes/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleybeddoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleybeddoes/subscriptions","organizations_url":"https://api.github.com/users/bradleybeddoes/orgs","repos_url":"https://api.github.com/users/bradleybeddoes/repos","events_url":"https://api.github.com/users/bradleybeddoes/events{/privacy}","received_events_url":"https://api.github.com/users/bradleybeddoes/received_events","type":"User","site_admin":false},"repo":{"id":31448708,"name":"valhammer","full_name":"bradleybeddoes/valhammer","owner":{"login":"bradleybeddoes","id":86558,"avatar_url":"https://avatars.githubusercontent.com/u/86558?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleybeddoes","html_url":"https://github.com/bradleybeddoes","followers_url":"https://api.github.com/users/bradleybeddoes/followers","following_url":"https://api.github.com/users/bradleybeddoes/following{/other_user}","gists_url":"https://api.github.com/users/bradleybeddoes/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleybeddoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleybeddoes/subscriptions","organizations_url":"https://api.github.com/users/bradleybeddoes/orgs","repos_url":"https://api.github.com/users/bradleybeddoes/repos","events_url":"https://api.github.com/users/bradleybeddoes/events{/privacy}","received_events_url":"https://api.github.com/users/bradleybeddoes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bradleybeddoes/valhammer","description":"Automatically validate ActiveRecord models based on the database schema","fork":true,"url":"https://api.github.com/repos/bradleybeddoes/valhammer","forks_url":"https://api.github.com/repos/bradleybeddoes/valhammer/forks","keys_url":"https://api.github.com/repos/bradleybeddoes/valhammer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bradleybeddoes/valhammer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bradleybeddoes/valhammer/teams","hooks_url":"https://api.github.com/repos/bradleybeddoes/valhammer/hooks","issue_events_url":"https://api.github.com/repos/bradleybeddoes/valhammer/issues/events{/number}","events_url":"https://api.github.com/repos/bradleybeddoes/valhammer/events","assignees_url":"https://api.github.com/repos/bradleybeddoes/valhammer/assignees{/user}","branches_url":"https://api.github.com/repos/bradleybeddoes/valhammer/branches{/branch}","tags_url":"https://api.github.com/repos/bradleybeddoes/valhammer/tags","blobs_url":"https://api.github.com/repos/bradleybeddoes/valhammer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bradleybeddoes/valhammer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bradleybeddoes/valhammer/git/refs{/sha}","trees_url":"https://api.github.com/repos/bradleybeddoes/valhammer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bradleybeddoes/valhammer/statuses/{sha}","languages_url":"https://api.github.com/repos/bradleybeddoes/valhammer/languages","stargazers_url":"https://api.github.com/repos/bradleybeddoes/valhammer/stargazers","contributors_url":"https://api.github.com/repos/bradleybeddoes/valhammer/contributors","subscribers_url":"https://api.github.com/repos/bradleybeddoes/valhammer/subscribers","subscription_url":"https://api.github.com/repos/bradleybeddoes/valhammer/subscription","commits_url":"https://api.github.com/repos/bradleybeddoes/valhammer/commits{/sha}","git_commits_url":"https://api.github.com/repos/bradleybeddoes/valhammer/git/commits{/sha}","comments_url":"https://api.github.com/repos/bradleybeddoes/valhammer/comments{/number}","issue_comment_url":"https://api.github.com/repos/bradleybeddoes/valhammer/issues/comments{/number}","contents_url":"https://api.github.com/repos/bradleybeddoes/valhammer/contents/{+path}","compare_url":"https://api.github.com/repos/bradleybeddoes/valhammer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bradleybeddoes/valhammer/merges","archive_url":"https://api.github.com/repos/bradleybeddoes/valhammer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bradleybeddoes/valhammer/downloads","issues_url":"https://api.github.com/repos/bradleybeddoes/valhammer/issues{/number}","pulls_url":"https://api.github.com/repos/bradleybeddoes/valhammer/pulls{/number}","milestones_url":"https://api.github.com/repos/bradleybeddoes/valhammer/milestones{/number}","notifications_url":"https://api.github.com/repos/bradleybeddoes/valhammer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bradleybeddoes/valhammer/labels{/name}","releases_url":"https://api.github.com/repos/bradleybeddoes/valhammer/releases{/id}","created_at":"2015-02-28T02:53:45Z","updated_at":"2015-04-30T11:22:33Z","pushed_at":"2015-04-30T11:22:33Z","git_url":"git://github.com/bradleybeddoes/valhammer.git","ssh_url":"git@github.com:bradleybeddoes/valhammer.git","clone_url":"https://github.com/bradleybeddoes/valhammer.git","svn_url":"https://github.com/bradleybeddoes/valhammer","homepage":null,"size":138,"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":"develop"}},"base":{"label":"ausaccessfed:develop","ref":"develop","sha":"e70468b1496bc54952d407feaf8199dd9721b65d","user":{"login":"ausaccessfed","id":149044,"avatar_url":"https://avatars.githubusercontent.com/u/149044?v=3","gravatar_id":"","url":"https://api.github.com/users/ausaccessfed","html_url":"https://github.com/ausaccessfed","followers_url":"https://api.github.com/users/ausaccessfed/followers","following_url":"https://api.github.com/users/ausaccessfed/following{/other_user}","gists_url":"https://api.github.com/users/ausaccessfed/gists{/gist_id}","starred_url":"https://api.github.com/users/ausaccessfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ausaccessfed/subscriptions","organizations_url":"https://api.github.com/users/ausaccessfed/orgs","repos_url":"https://api.github.com/users/ausaccessfed/repos","events_url":"https://api.github.com/users/ausaccessfed/events{/privacy}","received_events_url":"https://api.github.com/users/ausaccessfed/received_events","type":"Organization","site_admin":false},"repo":{"id":31391309,"name":"valhammer","full_name":"ausaccessfed/valhammer","owner":{"login":"ausaccessfed","id":149044,"avatar_url":"https://avatars.githubusercontent.com/u/149044?v=3","gravatar_id":"","url":"https://api.github.com/users/ausaccessfed","html_url":"https://github.com/ausaccessfed","followers_url":"https://api.github.com/users/ausaccessfed/followers","following_url":"https://api.github.com/users/ausaccessfed/following{/other_user}","gists_url":"https://api.github.com/users/ausaccessfed/gists{/gist_id}","starred_url":"https://api.github.com/users/ausaccessfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ausaccessfed/subscriptions","organizations_url":"https://api.github.com/users/ausaccessfed/orgs","repos_url":"https://api.github.com/users/ausaccessfed/repos","events_url":"https://api.github.com/users/ausaccessfed/events{/privacy}","received_events_url":"https://api.github.com/users/ausaccessfed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ausaccessfed/valhammer","description":"Automatically validate ActiveRecord models based on the database schema","fork":false,"url":"https://api.github.com/repos/ausaccessfed/valhammer","forks_url":"https://api.github.com/repos/ausaccessfed/valhammer/forks","keys_url":"https://api.github.com/repos/ausaccessfed/valhammer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ausaccessfed/valhammer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ausaccessfed/valhammer/teams","hooks_url":"https://api.github.com/repos/ausaccessfed/valhammer/hooks","issue_events_url":"https://api.github.com/repos/ausaccessfed/valhammer/issues/events{/number}","events_url":"https://api.github.com/repos/ausaccessfed/valhammer/events","assignees_url":"https://api.github.com/repos/ausaccessfed/valhammer/assignees{/user}","branches_url":"https://api.github.com/repos/ausaccessfed/valhammer/branches{/branch}","tags_url":"https://api.github.com/repos/ausaccessfed/valhammer/tags","blobs_url":"https://api.github.com/repos/ausaccessfed/valhammer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ausaccessfed/valhammer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ausaccessfed/valhammer/git/refs{/sha}","trees_url":"https://api.github.com/repos/ausaccessfed/valhammer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ausaccessfed/valhammer/statuses/{sha}","languages_url":"https://api.github.com/repos/ausaccessfed/valhammer/languages","stargazers_url":"https://api.github.com/repos/ausaccessfed/valhammer/stargazers","contributors_url":"https://api.github.com/repos/ausaccessfed/valhammer/contributors","subscribers_url":"https://api.github.com/repos/ausaccessfed/valhammer/subscribers","subscription_url":"https://api.github.com/repos/ausaccessfed/valhammer/subscription","commits_url":"https://api.github.com/repos/ausaccessfed/valhammer/commits{/sha}","git_commits_url":"https://api.github.com/repos/ausaccessfed/valhammer/git/commits{/sha}","comments_url":"https://api.github.com/repos/ausaccessfed/valhammer/comments{/number}","issue_comment_url":"https://api.github.com/repos/ausaccessfed/valhammer/issues/comments{/number}","contents_url":"https://api.github.com/repos/ausaccessfed/valhammer/contents/{+path}","compare_url":"https://api.github.com/repos/ausaccessfed/valhammer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ausaccessfed/valhammer/merges","archive_url":"https://api.github.com/repos/ausaccessfed/valhammer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ausaccessfed/valhammer/downloads","issues_url":"https://api.github.com/repos/ausaccessfed/valhammer/issues{/number}","pulls_url":"https://api.github.com/repos/ausaccessfed/valhammer/pulls{/number}","milestones_url":"https://api.github.com/repos/ausaccessfed/valhammer/milestones{/number}","notifications_url":"https://api.github.com/repos/ausaccessfed/valhammer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ausaccessfed/valhammer/labels{/name}","releases_url":"https://api.github.com/repos/ausaccessfed/valhammer/releases{/id}","created_at":"2015-02-26T22:05:23Z","updated_at":"2015-03-16T05:29:21Z","pushed_at":"2015-04-30T21:04:16Z","git_url":"git://github.com/ausaccessfed/valhammer.git","ssh_url":"git@github.com:ausaccessfed/valhammer.git","clone_url":"https://github.com/ausaccessfed/valhammer.git","svn_url":"https://github.com/ausaccessfed/valhammer","homepage":null,"size":331,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/9"},"html":{"href":"https://github.com/ausaccessfed/valhammer/pull/9"},"issue":{"href":"https://api.github.com/repos/ausaccessfed/valhammer/issues/9"},"comments":{"href":"https://api.github.com/repos/ausaccessfed/valhammer/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ausaccessfed/valhammer/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/ausaccessfed/valhammer/statuses/da4f06499efe8d76ae7e0092d63c05b7f834ffdd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"smangelsdorf","id":6358,"avatar_url":"https://avatars.githubusercontent.com/u/6358?v=3","gravatar_id":"","url":"https://api.github.com/users/smangelsdorf","html_url":"https://github.com/smangelsdorf","followers_url":"https://api.github.com/users/smangelsdorf/followers","following_url":"https://api.github.com/users/smangelsdorf/following{/other_user}","gists_url":"https://api.github.com/users/smangelsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/smangelsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smangelsdorf/subscriptions","organizations_url":"https://api.github.com/users/smangelsdorf/orgs","repos_url":"https://api.github.com/users/smangelsdorf/repos","events_url":"https://api.github.com/users/smangelsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/smangelsdorf/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":14,"deletions":5,"changed_files":6}}