Skip to content

Commit

Permalink
cwninja: A typo it would seem... this would be wacky if used.
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Mar 31, 2009
1 parent 312a8f7 commit 2fea9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/acts_as_recommendable.rb
Expand Up @@ -193,7 +193,7 @@ def self.similar_items(item, options)
else
cached_dataset = Rails.cache.read("aar_#{options[:on]}_dataset")
logger.warn 'ActsRecommendable has an empty dataset - rebuild it' unless cached_dataset
rankings = cached_dataset && cached_dataset[self.id]
rankings = cached_dataset && cached_dataset[item.id]
end
else
users, prefs = self.inverted_matrix(options)
Expand Down

0 comments on commit 2fea9d4

Please sign in to comment.