Skip to content
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
2 parents 470a27e + 1b3efa6 commit 9c25980dcafacaf3252e048bd4c0073c1b47f50d @davidcelis committed Sep 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
4 README.markdown
@@ -5,7 +5,7 @@ Recommendable is an engine for Rails 3 applications to quickly add the ability f
* 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).
@@ -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

0 comments on commit 9c25980

Please sign in to comment.
Something went wrong with that request. Please try again.