This gem 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.
It should not be used in production.
Installing
Via Rubygems:
gem install activerecord-mysql-retry-ext
Via Gemfile:
gem "activerecord-mysql-retry-ext"
Happy coding!
blog comments powered by Disqus