{"action":"created","issue":{"url":"https://api.github.com/repos/grosser/test_after_commit/issues/51","repository_url":"https://api.github.com/repos/grosser/test_after_commit","labels_url":"https://api.github.com/repos/grosser/test_after_commit/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/grosser/test_after_commit/issues/51/comments","events_url":"https://api.github.com/repos/grosser/test_after_commit/issues/51/events","html_url":"https://github.com/grosser/test_after_commit/issues/51","id":379575387,"node_id":"MDU6SXNzdWUzNzk1NzUzODc=","number":51,"title":"Error after updating to 1.2.0","user":{"login":"jfloff","id":1867656,"node_id":"MDQ6VXNlcjE4Njc2NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1867656?v=4","gravatar_id":"","url":"https://api.github.com/users/jfloff","html_url":"https://github.com/jfloff","followers_url":"https://api.github.com/users/jfloff/followers","following_url":"https://api.github.com/users/jfloff/following{/other_user}","gists_url":"https://api.github.com/users/jfloff/gists{/gist_id}","starred_url":"https://api.github.com/users/jfloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfloff/subscriptions","organizations_url":"https://api.github.com/users/jfloff/orgs","repos_url":"https://api.github.com/users/jfloff/repos","events_url":"https://api.github.com/users/jfloff/events{/privacy}","received_events_url":"https://api.github.com/users/jfloff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-11T23:21:05Z","updated_at":"2018-11-12T18:14:47Z","closed_at":null,"author_association":"NONE","body":"I just updated to v1.2.0 and I'm getting this error when I seed the database:\r\n```\r\nNoMethodError: undefined method `records' for #<ActiveRecord::ConnectionAdapters::NullTransaction:0x000000000a51c048>\r\n/app/heroku/ruby/bundle/ruby/2.4.4/gems/test_after_commit-1.2.0/lib/test_after_commit/database_statements.rb:45:in `test_commit_records'\r\n/app/heroku/ruby/bundle/ruby/2.4.4/gems/test_after_commit-1.2.0/lib/test_after_commit/database_statements.rb:29:in `transaction'\r\n```\r\n\r\nAny hints on why this is happening?\r\n"},"comment":{"url":"https://api.github.com/repos/grosser/test_after_commit/issues/comments/437978750","html_url":"https://github.com/grosser/test_after_commit/issues/51#issuecomment-437978750","issue_url":"https://api.github.com/repos/grosser/test_after_commit/issues/51","id":437978750,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzk3ODc1MA==","user":{"login":"pmavinkurve-mdsol","id":2229883,"node_id":"MDQ6VXNlcjIyMjk4ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/2229883?v=4","gravatar_id":"","url":"https://api.github.com/users/pmavinkurve-mdsol","html_url":"https://github.com/pmavinkurve-mdsol","followers_url":"https://api.github.com/users/pmavinkurve-mdsol/followers","following_url":"https://api.github.com/users/pmavinkurve-mdsol/following{/other_user}","gists_url":"https://api.github.com/users/pmavinkurve-mdsol/gists{/gist_id}","starred_url":"https://api.github.com/users/pmavinkurve-mdsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmavinkurve-mdsol/subscriptions","organizations_url":"https://api.github.com/users/pmavinkurve-mdsol/orgs","repos_url":"https://api.github.com/users/pmavinkurve-mdsol/repos","events_url":"https://api.github.com/users/pmavinkurve-mdsol/events{/privacy}","received_events_url":"https://api.github.com/users/pmavinkurve-mdsol/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T18:14:47Z","updated_at":"2018-11-12T18:14:47Z","author_association":"NONE","body":"Thanks for reporting this! We are seeing this error too. "}}
{"actor":{"display_login":"pmavinkurve-mdsol"}}