Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
David Celis committed Sep 23, 2012
2 parents 470a27e + 1b3efa6 commit 9c25980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Expand Up @@ -5,7 +5,7 @@ Recommendable is an engine for Rails 3 applications to quickly add the ability f
Requirements
------------
* Ruby 1.9.x
* Rails 3.x or 4.x
* Rails 3.x or 4.x (and, currently, ActiveRecord)
* Sidekiq or Resque (or DelayedJob)

Bundling one of the queueing systems above is highly recommended to avoid having to manually refresh users' recommendations. If running on Rails 4, the built-in queueing system is supported. If you bundle [Sidekiq][sidekiq], [Resque][resque], or [DelayedJob][delayed_job], Recommendable will use your bundled queueing system instead. If bundling Resque, you should also include ['resque-loner'][resque-loner] in your Gemfile to ensure your users only get queued once (Sidekiq does this by default, and there is no current way to avoid duplicate jobs in DelayedJob).
Expand Down Expand Up @@ -85,7 +85,7 @@ still exist, you can regenerate the similarity values and recommendations on the
fly. But try not to have to do it!

``` ruby
Users.all.each do |user|
User.all.each do |user|
user.send :update_similarities
user.send :update_recommendations
end
Expand Down

0 comments on commit 9c25980

Please sign in to comment.