{"action":"created","issue":{"url":"https://api.github.com/repos/rubysherpas/paranoia/issues/291","repository_url":"https://api.github.com/repos/rubysherpas/paranoia","labels_url":"https://api.github.com/repos/rubysherpas/paranoia/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/rubysherpas/paranoia/issues/291/comments","events_url":"https://api.github.com/repos/rubysherpas/paranoia/issues/291/events","html_url":"https://github.com/rubysherpas/paranoia/pull/291","id":124130807,"number":291,"title":"Don't try to add to null transactions","user":{"login":"shosti","id":734316,"avatar_url":"https://avatars.githubusercontent.com/u/734316?v=3","gravatar_id":"","url":"https://api.github.com/users/shosti","html_url":"https://github.com/shosti","followers_url":"https://api.github.com/users/shosti/followers","following_url":"https://api.github.com/users/shosti/following{/other_user}","gists_url":"https://api.github.com/users/shosti/gists{/gist_id}","starred_url":"https://api.github.com/users/shosti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shosti/subscriptions","organizations_url":"https://api.github.com/users/shosti/orgs","repos_url":"https://api.github.com/users/shosti/repos","events_url":"https://api.github.com/users/shosti/events{/privacy}","received_events_url":"https://api.github.com/users/shosti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-28T21:42:14Z","updated_at":"2016-02-08T20:23:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rubysherpas/paranoia/pulls/291","html_url":"https://github.com/rubysherpas/paranoia/pull/291","diff_url":"https://github.com/rubysherpas/paranoia/pull/291.diff","patch_url":"https://github.com/rubysherpas/paranoia/pull/291.patch"},"body":"Fixes https://github.com/rubysherpas/paranoia/issues/274\r\n\r\nIt looks like ActiveRecord refactored the Transaction class hierarchy in\r\na non-backwards-compatible\r\nway (https://github.com/rails/rails/pull/16363), which breaks\r\n`add_to_transaction` for null transactions (I think it probably\r\nqualifies as a bug). The workaround is to not try to use\r\n`add_to_transaction` in null transactions."},"comment":{"url":"https://api.github.com/repos/rubysherpas/paranoia/issues/comments/181552486","html_url":"https://github.com/rubysherpas/paranoia/pull/291#issuecomment-181552486","issue_url":"https://api.github.com/repos/rubysherpas/paranoia/issues/291","id":181552486,"user":{"login":"shosti","id":734316,"avatar_url":"https://avatars.githubusercontent.com/u/734316?v=3","gravatar_id":"","url":"https://api.github.com/users/shosti","html_url":"https://github.com/shosti","followers_url":"https://api.github.com/users/shosti/followers","following_url":"https://api.github.com/users/shosti/following{/other_user}","gists_url":"https://api.github.com/users/shosti/gists{/gist_id}","starred_url":"https://api.github.com/users/shosti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shosti/subscriptions","organizations_url":"https://api.github.com/users/shosti/orgs","repos_url":"https://api.github.com/users/shosti/repos","events_url":"https://api.github.com/users/shosti/events{/privacy}","received_events_url":"https://api.github.com/users/shosti/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T20:23:51Z","updated_at":"2016-02-08T20:23:51Z","body":"OK updated. Do you mean \"core\"?"}}