lib/recommendable/rater/hider.rb in recommendable-2.0.3 vs lib/recommendable/rater/hider.rb in recommendable-2.0.4

- old
+ new

@@ -70,10 +70,10 @@ # @param [String, Symbol, Class] the class for which you want IDs # @return [Array] an array of IDs # @private def hidden_ids_for(klass) ids = Recommendable.redis.smembers(Recommendable::Helpers::RedisKeyMapper.hidden_set_for(klass, id)) - ids.map!(&:to_i) if [:active_record, :data_mapper].include?(Recommendable.config.orm) + ids.map!(&:to_i) if [:active_record, :data_mapper, :sequel].include?(Recommendable.config.orm) ids end # Fetch records belonging to a passed class that the user has hidden #