Skip to content

Commit

Permalink
updating README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnader committed Sep 2, 2010
1 parent ec0cdf5 commit bd54a3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.textile
Expand Up @@ -65,6 +65,7 @@ Delayed::Worker.backend = :mongo_mapper
h3. Mongoid

You need to create your DelayedJob mongoid model:

<pre>
# app/models/delayed_job.rb
class DelayedJob
Expand All @@ -83,6 +84,7 @@ end
</pre>

And set the backend in the initializer:

<pre>
# config/initializers/delayed_job.rb
Delayed::Worker.backend = :mongoid
Expand Down

0 comments on commit bd54a3f

Please sign in to comment.