RubyGems.org

Provides a 'save_and_retry' method that will attempt to save a document and, if a duplicate key error is thrown by mongodb, will update the existing document instead of failing.

installgem install mongoid_retry
Authors

Travis Dahlke

1,527 total downloads 249 for this version
Owners

1d2a961488e2c0caa87a00f8bdb5ee41

Gemfile
gem 'mongoid_retry', '~> 0.0.3'
Versions
  1. 0.0.3 May 16, 2014 (8 KB)
  2. 0.0.2 January 30, 2013 (6.5 KB)
  3. 0.0.1 November 27, 2012 (6.5 KB)
Runtime Dependencies
  1. mongoid > 2.0
Ruby Dependency
  1. >= 0