RubyGems Navigation menu

mongoid_retry 0.0.2

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

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

Development Dependencies (3):

rake >= 0.9.2
rspec >= 0

Owners:

Authors:

  • Travis Dahlke

SHA 256 checksum:

f07170f9da569d4c5da0d8bbc1ad9b6195adf5dfe720707c6b4b1a472cf19f0f

Total downloads 9,138

For this version 2,832

Licenses:

N/A

Required Ruby Version: None

Links: