Skip to content

zdennis/activerecord-mysql2-retry-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: brianmario/mysql2#99

Do not use this in production.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages