This release includes a fix for using ActiveRecord UUIDs.
Assets
3
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_forwith module-nested models (e.g.current_user.liked_for(Forem::Post))
Fixes:
- Fix a syntax issue with quotes in PostgreSQL
Assets
3
- 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
Assets
3
davidcelis
released this
- Ratable subclasses behave more sanely, getting their own keys in Redis. This changes the behavior of
Recommendable::Ratable.topand shows only items of the requested class (not the entire STI hierarchy) Recommendable::Ratable.topcan now take an options hash withoptions[:count]andoptions[:offset]both supported
Assets
2
davidcelis
released this
- Add an
unratemethod that will unlike, undislike, or unhide (and unbookmark) the passed object (#81)