From 5b71922a5b47ec0b52f4629451c23a400e2cbb9c Mon Sep 17 00:00:00 2001 From: David Celis Date: Tue, 18 Sep 2012 13:30:37 -0700 Subject: [PATCH 1/2] Fix typo in README.markdown --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index f0d3b2c..e04e44c 100644 --- a/README.markdown +++ b/README.markdown @@ -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 From 1b3efa66f9531dd90fc6ffb4ba8ca38a06a67c54 Mon Sep 17 00:00:00 2001 From: David Celis Date: Fri, 21 Sep 2012 08:36:10 -0700 Subject: [PATCH 2/2] Update README.markdown --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index e04e44c..b3f42ca 100644 --- a/README.markdown +++ b/README.markdown @@ -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).