activerecord-mysql2-retry-ext 0.2.0
Something with the combination of Rails 3.1, Mysql2 0.3.x, Capybara, Selenium/Webkit/etc causes Mysql to raise exceptions where the connection is waiting on a result. This gem provides an auto-retry capability with the Mysql2Adapter to retry any query execution up to 5 times. This is a a temporary solution until the real issue with the above libraries/frameworks are resolved. This should NOT be used in production.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
activerecord
>= 3.1.0
mysql2
~> 0.3