Releases: davidcelis/recommendable
Releases · davidcelis/recommendable
2.2.2
2.2.1
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
- 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
v2.1.3
- 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 withoptions[:count]
andoptions[:offset]
both supported