lib/searchkick/reindex_queue.rb in searchkick-2.0.4 vs lib/searchkick/reindex_queue.rb in searchkick-2.1.0

- old
+ new

@@ -2,9 +2,11 @@ class ReindexQueue attr_reader :name def initialize(name) @name = name + + raise Searchkick::Error, "Searchkick.redis not set" unless redis end def push(record_id) redis.lpush(redis_key, record_id) end