Skip to content

Commit

Permalink
Updated badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Sep 25, 2015
1 parent f12323d commit 15cb110
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
@@ -1,7 +1,8 @@
delayed_job_shallow_mongoid
===========================

[![Build Status](https://secure.travis-ci.org/joeyAghion/delayed_job_shallow_mongoid.png?branch=master)](http://travis-ci.org/joeyAghion/delayed_job_shallow_mongoid)
[![Build Status](https://secure.travis-ci.org/joeyAghion/delayed_job_shallow_mongoid.svg?branch=master)](http://travis-ci.org/joeyAghion/delayed_job_shallow_mongoid)
[![Gem Version](https://badge.fury.io/rb/delayed_job_shallow_mongoid.svg)](http://badge.fury.io/rb/delayed_job_shallow_mongoid)

This library short-circuits serialization of [Mongoid](http://mongoid.org) model instances when a delayed job is called on them, or when they're passed as arguments to a delayed job. Rather than generate and store the fully-serialized YAML, a simple stub is stored. When the job is run, the stub is recognized and a `find` is done to look up the underlying document. If a referenced model isn't found at this point, the job simply does nothing.

Expand Down

0 comments on commit 15cb110

Please sign in to comment.