[go: up one dir, main page]

Skip to content

Releases: davidcelis/recommendable

2.2.2

24 Apr 15:45
Compare
Choose a tag to compare

This release includes a fix for using ActiveRecord UUIDs.

2.2.1

15 Apr 17:58
Compare
Choose a tag to compare

New things:

  • Support for UUIDs (config.orm = :active_record_uuid)
  • Allow setting a dynamic Redis namespace (config.redis_namespace = -> { … })
  • Allow using methods such as liked_for with module-nested models (e.g. current_user.liked_for(Forem::Post))

Fixes:

  • Fix a syntax issue with quotes in PostgreSQL

2.2.0

08 Jun 22:20
Compare
Choose a tag to compare
  • Recommendations with negative scores, which occurs when there aren't many good ones available, will no longer be returned
  • Recommendations are now correctly sorted by score when returned, but no longer return a chainable Relation
  • User IDs will be to_s'd upon entering the Enqueue method, to support changes being made in Mongoid 4

2.1.4

23 Apr 20:19
Compare
Choose a tag to compare
  • Redis commands used during similarity value/recommendation generation are now Pipelined, greatly improving performance. Thanks to @ajjahn (#90)

v2.1.3

09 Jan 18:37
Compare
Choose a tag to compare
  • Ratable subclasses behave more sanely, getting their own keys in Redis. This changes the behavior of Recommendable::Ratable.top and shows only items of the requested class (not the entire STI hierarchy)
  • Recommendable::Ratable.top can now take an options hash with options[:count] and options[:offset] both supported

v2.1.2

31 Jul 00:29
Compare
Choose a tag to compare
  • Add an unrate method that will unlike, undislike, or unhide (and unbookmark) the passed object (#81)