{"action":"created","issue":{"url":"https://api.github.com/repos/igrigorik/em-synchrony/issues/189","repository_url":"https://api.github.com/repos/igrigorik/em-synchrony","labels_url":"https://api.github.com/repos/igrigorik/em-synchrony/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/igrigorik/em-synchrony/issues/189/comments","events_url":"https://api.github.com/repos/igrigorik/em-synchrony/issues/189/events","html_url":"https://github.com/igrigorik/em-synchrony/issues/189","id":56101646,"number":189,"title":"uninitialized constant ActiveRecord::ConnectionAdapters::ClosedTransaction","user":{"login":"ShogunPanda","id":201101,"avatar_url":"https://avatars.githubusercontent.com/u/201101?v=3","gravatar_id":"","url":"https://api.github.com/users/ShogunPanda","html_url":"https://github.com/ShogunPanda","followers_url":"https://api.github.com/users/ShogunPanda/followers","following_url":"https://api.github.com/users/ShogunPanda/following{/other_user}","gists_url":"https://api.github.com/users/ShogunPanda/gists{/gist_id}","starred_url":"https://api.github.com/users/ShogunPanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShogunPanda/subscriptions","organizations_url":"https://api.github.com/users/ShogunPanda/orgs","repos_url":"https://api.github.com/users/ShogunPanda/repos","events_url":"https://api.github.com/users/ShogunPanda/events{/privacy}","received_events_url":"https://api.github.com/users/ShogunPanda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-01-31T00:03:19Z","updated_at":"2016-04-04T21:59:23Z","closed_at":null,"body":"Hi. I just upgraded to em-synchrony 1.0.4.\r\nWhenever I try to make any operation with ActiveRecord I get this error using ActiveRecord 4.2.0:\r\n\r\n```\r\nFailure/Error: Unable to find matching line from backtrace\r\n   NameError:\r\n     uninitialized constant ActiveRecord::ConnectionAdapters::ClosedTransaction\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/em-synchrony-1.0.4/lib/em-synchrony/activerecord.rb:92:in `reset_transaction'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:6:in `initialize'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:24:in `initialize'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:102:in `initialize'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:163:in `initialize'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/mysql2_adapter.rb:35:in `initialize'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/em-synchrony-1.0.4/lib/active_record/connection_adapters/em_mysql2_adapter.rb:34:in `new'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/em-synchrony-1.0.4/lib/active_record/connection_adapters/em_mysql2_adapter.rb:34:in `em_mysql2_connection'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:436:in `new_connection'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:446:in `checkout_new_connection'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/em-synchrony-1.0.4/lib/em-synchrony/activerecord.rb:12:in `block in connection'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/em-synchrony-1.0.4/lib/em-synchrony/thread.rb:63:in `synchronize'\r\n   # /Volumes/DATI/Users/Shogun/.rvm/gems/ruby-2.2.0/gems/em-synchrony-1.0.4/lib/em-synchrony/activerecord.rb:11:in `connection'\r\n```\r\n\r\nCan you please fix it? :)"},"comment":{"url":"https://api.github.com/repos/igrigorik/em-synchrony/issues/comments/205515378","html_url":"https://github.com/igrigorik/em-synchrony/issues/189#issuecomment-205515378","issue_url":"https://api.github.com/repos/igrigorik/em-synchrony/issues/189","id":205515378,"user":{"login":"dgutov","id":271877,"avatar_url":"https://avatars.githubusercontent.com/u/271877?v=3","gravatar_id":"","url":"https://api.github.com/users/dgutov","html_url":"https://github.com/dgutov","followers_url":"https://api.github.com/users/dgutov/followers","following_url":"https://api.github.com/users/dgutov/following{/other_user}","gists_url":"https://api.github.com/users/dgutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dgutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgutov/subscriptions","organizations_url":"https://api.github.com/users/dgutov/orgs","repos_url":"https://api.github.com/users/dgutov/repos","events_url":"https://api.github.com/users/dgutov/events{/privacy}","received_events_url":"https://api.github.com/users/dgutov/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T21:59:23Z","updated_at":"2016-04-04T21:59:23Z","body":"@igrigorik From what I understand of #190, it would require a major version bump. I think it would be better to push out a backward-compatible release first."}}