RubyGems Navigation menu

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.

          gem 'activerecord-mysql2-retry-ext', '~> 0.2.0'

          gem install activerecord-mysql2-retry-ext

Total downloads 27,156

For this version 20,954

Required Ruby Version: None



  1. 0.2.0 - October 5, 2012 (5 KB)
  2. 0.1.0 - September 26, 2011 (5 KB)