Permalink
Browse files

updating README formatting

  • Loading branch information...
1 parent ec0cdf5 commit bd54a3f89bb33389d0e784e318e68ef8660f4215 @iamnader iamnader committed Sep 2, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.textile
View
@@ -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
@@ -83,6 +84,7 @@ end
</pre>
And set the backend in the initializer:
+
<pre>
# config/initializers/delayed_job.rb
Delayed::Worker.backend = :mongoid

0 comments on commit bd54a3f

Please sign in to comment.