{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/17824","labels_url":"https://api.github.com/repos/rails/rails/issues/17824/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/17824/comments","events_url":"https://api.github.com/repos/rails/rails/issues/17824/events","html_url":"https://github.com/rails/rails/pull/17824","id":50402585,"number":17824,"title":"AR::RecordNotSaved & RecordNotDestroyed from save!/destroy! should include an error message","user":{"login":"yuki24","id":386234,"avatar_url":"https://avatars.githubusercontent.com/u/386234?v=3","gravatar_id":"","url":"https://api.github.com/users/yuki24","html_url":"https://github.com/yuki24","followers_url":"https://api.github.com/users/yuki24/followers","following_url":"https://api.github.com/users/yuki24/following{/other_user}","gists_url":"https://api.github.com/users/yuki24/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki24/subscriptions","organizations_url":"https://api.github.com/users/yuki24/orgs","repos_url":"https://api.github.com/users/yuki24/repos","events_url":"https://api.github.com/users/yuki24/events{/privacy}","received_events_url":"https://api.github.com/users/yuki24/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-28T20:48:40Z","updated_at":"2015-01-11T01:14:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/17824","html_url":"https://github.com/rails/rails/pull/17824","diff_url":"https://github.com/rails/rails/pull/17824.diff","patch_url":"https://github.com/rails/rails/pull/17824.patch"},"body":"When calling `AR::Base.save!` or `AR::Base.destroy!` and raising one of the exceptions, give a meaningful error message so that people can easily understand why it's failing to save/destroy.\r\n\r\ncc @arthurnn @rafaelfranca"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/69479436","html_url":"https://github.com/rails/rails/pull/17824#issuecomment-69479436","issue_url":"https://api.github.com/repos/rails/rails/issues/17824","id":69479436,"user":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T01:14:49Z","updated_at":"2015-01-11T01:14:49Z","body":"LGTM, @rafaelfranca final thoughts?"}}