{"action":"created","issue":{"url":"https://api.github.com/repos/JoyFoodly/joyful_12/issues/10","labels_url":"https://api.github.com/repos/JoyFoodly/joyful_12/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/JoyFoodly/joyful_12/issues/10/comments","events_url":"https://api.github.com/repos/JoyFoodly/joyful_12/issues/10/events","html_url":"https://github.com/JoyFoodly/joyful_12/issues/10","id":85959284,"number":10,"title":"Gifting causes non-null violation in DB","user":{"login":"siruguri","id":40653,"avatar_url":"https://avatars.githubusercontent.com/u/40653?v=3","gravatar_id":"","url":"https://api.github.com/users/siruguri","html_url":"https://github.com/siruguri","followers_url":"https://api.github.com/users/siruguri/followers","following_url":"https://api.github.com/users/siruguri/following{/other_user}","gists_url":"https://api.github.com/users/siruguri/gists{/gist_id}","starred_url":"https://api.github.com/users/siruguri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siruguri/subscriptions","organizations_url":"https://api.github.com/users/siruguri/orgs","repos_url":"https://api.github.com/users/siruguri/repos","events_url":"https://api.github.com/users/siruguri/events{/privacy}","received_events_url":"https://api.github.com/users/siruguri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JoyFoodly/joyful_12/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"whatasunnyday","id":1108341,"avatar_url":"https://avatars.githubusercontent.com/u/1108341?v=3","gravatar_id":"","url":"https://api.github.com/users/whatasunnyday","html_url":"https://github.com/whatasunnyday","followers_url":"https://api.github.com/users/whatasunnyday/followers","following_url":"https://api.github.com/users/whatasunnyday/following{/other_user}","gists_url":"https://api.github.com/users/whatasunnyday/gists{/gist_id}","starred_url":"https://api.github.com/users/whatasunnyday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatasunnyday/subscriptions","organizations_url":"https://api.github.com/users/whatasunnyday/orgs","repos_url":"https://api.github.com/users/whatasunnyday/repos","events_url":"https://api.github.com/users/whatasunnyday/events{/privacy}","received_events_url":"https://api.github.com/users/whatasunnyday/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-07T22:54:16Z","updated_at":"2015-06-08T19:06:29Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/JoyFoodly/joyful_12/issues/comments/110109308","html_url":"https://github.com/JoyFoodly/joyful_12/issues/10#issuecomment-110109308","issue_url":"https://api.github.com/repos/JoyFoodly/joyful_12/issues/10","id":110109308,"user":{"login":"whatasunnyday","id":1108341,"avatar_url":"https://avatars.githubusercontent.com/u/1108341?v=3","gravatar_id":"","url":"https://api.github.com/users/whatasunnyday","html_url":"https://github.com/whatasunnyday","followers_url":"https://api.github.com/users/whatasunnyday/followers","following_url":"https://api.github.com/users/whatasunnyday/following{/other_user}","gists_url":"https://api.github.com/users/whatasunnyday/gists{/gist_id}","starred_url":"https://api.github.com/users/whatasunnyday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatasunnyday/subscriptions","organizations_url":"https://api.github.com/users/whatasunnyday/orgs","repos_url":"https://api.github.com/users/whatasunnyday/repos","events_url":"https://api.github.com/users/whatasunnyday/events{/privacy}","received_events_url":"https://api.github.com/users/whatasunnyday/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T19:06:29Z","updated_at":"2015-06-08T19:06:29Z","body":"So this issue is temporarily resolved by https://github.com/JoyFoodly/joyful_12/commit/f3d83d218fa26195df02a61463d76d887238af50. I'm a bit confused about what's going on and I was hoping you might be able to try something @siruguri. I think the database is not in sync with db/schema.rb and the migrations. I know that you were able to replicate the issue locally but I have not been able to. Can you try dropping the db and restarting it using something like `rake db:setup` and not adding this patch? I'm curious if 0167afa will fix it for you."}}