rails-sqlserver/activerecord-sqlserver-adapter — pull request #338 by alfa-jpn (2014-05-23 06:23:24+00:00)
Title: Fixed bug of active? for Azure SQL.

I'm poor at English.
If you can't understand what I mean, please let me know.

-----

Azure SQL close the client connection every 5min.
active? method of TinyTds::Client can't diagnose it.

This is a specification of Azure SQL.
http://blogs.msdn.com/b/bartr/archive/2010/06/18/sql-azure-connection-retry.aspx

As a result, adapter needs execute SQL because of correct checking.