{"action":"reopened","issue":{"url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/475","repository_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter","labels_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/475/comments","events_url":"https://api.github.com/repos/rails-sqlserver/activerecord-sqlserver-adapter/issues/475/events","html_url":"https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/issues/475","id":156268982,"number":475,"title":"NameError (uninitialized constant ActiveRecord::ConnectionAdapters::SQLServerAdapter::ODBC):","user":{"login":"monteirobrena","id":184617,"avatar_url":"https://avatars.githubusercontent.com/u/184617?v=3","gravatar_id":"","url":"https://api.github.com/users/monteirobrena","html_url":"https://github.com/monteirobrena","followers_url":"https://api.github.com/users/monteirobrena/followers","following_url":"https://api.github.com/users/monteirobrena/following{/other_user}","gists_url":"https://api.github.com/users/monteirobrena/gists{/gist_id}","starred_url":"https://api.github.com/users/monteirobrena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monteirobrena/subscriptions","organizations_url":"https://api.github.com/users/monteirobrena/orgs","repos_url":"https://api.github.com/users/monteirobrena/repos","events_url":"https://api.github.com/users/monteirobrena/events{/privacy}","received_events_url":"https://api.github.com/users/monteirobrena/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-23T12:28:42Z","updated_at":"2016-05-25T00:23:43Z","closed_at":null,"body":"I've this error in one of my server and I can't understand the reason because I have two equals server and in just one occurred this error.\r\n\r\nThis error occurred eventually, when I restart the `puma` the connection works fine, but after sometime this happen again.\r\n\r\nPlus, I'm not using ODBC instead I use `tiny_tds`.\r\n\r\n**FreeTDS**\r\n\r\n```\r\n$ tsql -C\r\n\r\nCompile-time settings (established with the \"configure\" script)\r\n                            Version: freetds v0.95rc3\r\n             freetds.conf directory: /usr/local/etc\r\n     MS db-lib source compatibility: no\r\n        Sybase binary compatibility: no\r\n                      Thread safety: yes\r\n                      iconv library: yes\r\n                        TDS version: 7.3\r\n                              iODBC: no\r\n                           unixodbc: no\r\n              SSPI \"trusted\" logins: no\r\n                           Kerberos: no\r\n                            OpenSSL: yes\r\n                             GnuTLS: no\r\n```\r\n\r\n**Gemfile**\r\n\r\n```\r\ngem 'tiny_tds', '~> 0.7.0'\r\ngem 'activerecord-sqlserver-adapter', '~> 4.2.11'\r\n```\r\n**config/database.yml**\r\n\r\n```\r\nproduction:\r\n  adapter: sqlserver\r\n  host: my-db.database.secure.windows.net\r\n  database: my-db\r\n  username: user@my-db\r\n  password: 12345678\r\n  port: 1433\r\n  azure: true\r\n```\r\n\r\n**Log**\r\n```\r\nNameError (uninitialized constant ActiveRecord::ConnectionAdapters::SQLServerAdapter::ODBC):\r\n  activerecord-sqlserver-adapter (4.2.11) lib/active_record/connection_adapters/sqlserver_adapter.rb:136:in `rescue in active?'\r\n  activerecord-sqlserver-adapter (4.2.11) lib/active_record/connection_adapters/sqlserver_adapter.rb:133:in `active?'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract_adapter.rb:328:in `verify!'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:456:in `block in checkout_and_verify'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:84:in `run_callbacks'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:455:in `checkout_and_verify'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:351:in `block in checkout'\r\n  /home/deploy/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'\r\n  /home/deploy/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in `retrieve_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_handling.rb:113:in `retrieve_connection'\r\n  activerecord (4.2.3) lib/active_record/connection_handling.rb:87:in `connection'\r\n  activerecord (4.2.3) lib/active_record/query_cache.rb:31:in `call'\r\n  activerecord (4.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\n  activesupport (4.2.3) lib/active_support/callbacks.rb:84:in `run_callbacks'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\n  railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'\r\n  railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'\r\n  activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'\r\n  activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'\r\n  activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'\r\n  railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\n  rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'\r\n  rack (1.6.4) lib/rack/runtime.rb:18:in `call'\r\n  rack-timeout (0.4.2) lib/rack/timeout/core.rb:122:in `block in call'\r\n  rack-timeout (0.4.2) lib/rack/timeout/support/timeout.rb:19:in `timeout'\r\n  rack-timeout (0.4.2) lib/rack/timeout/core.rb:121:in `call'\r\n  activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\n  actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'\r\n  rack (1.6.4) lib/rack/sendfile.rb:113:in `call'\r\n  railties (4.2.3) lib/rails/engine.rb:518:in `call'\r\n  railties (4.2.3) lib/rails/application.rb:165:in `call'\r\n  rack (1.6.4) lib/rack/deflater.rb:35:in `call'\r\n  puma (3.4.0) lib/puma/configuration.rb:224:in `call'\r\n  puma (3.4.0) lib/puma/server.rb:569:in `handle_request'\r\n  puma (3.4.0) lib/puma/server.rb:406:in `process_client'\r\n  puma (3.4.0) lib/puma/server.rb:271:in `block in run'\r\n  puma (3.4.0) lib/puma/thread_pool.rb:114:in `block in spawn_thread'\r\n```"}}
{"actor":{"display_login":"metaskills"}}