RubyGems.org

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.

installgem install activerecord-mysql2-retry-ext
Authors

Zach Dennis

26,355 total downloads 20,238 for this version
Owners

F86901feca747abbb5c6c020362ef2e7

Gemfile
gem 'activerecord-mysql2-retry-ext', '~> 0.2.0'
Versions
  1. 0.2.0 October 5, 2012 (5 KB)
  2. 0.1.0 September 26, 2011 (5 KB)