Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Provides auto retrying of SQL queries for ActiveRecord's Mysql2 adapter.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 activerecord-mysql2-retry-ext.gemspec
README.markdown

This code is for monkey-patching the Mysql2Adapter with ActiveRecord to avoid the following error when running integration tests with something like Capybara and Selenium or Capybara and Webkit: Mysql2::Error: This connection is still waiting for a result, try again once you have the result

The issue is alive and well: https://github.com/brianmario/mysql2/issues/99

Do not use this in production.

Something went wrong with that request. Please try again.