Commit
433701e2b5b587aa3f899d6e0b3a01f9c6cb1f25
Exists in
master
and in
19 other branches
allow_missing, conversions_period, conversions_v2, eager_load, find_in_batches, highlighted, index_name, lazy_index_name, less_deps, nested, reindex_refactor, relation, relation_search, routing_queue, scope_attributes, search_as_you_type, synonyms_ci, test_language, wildcard
Raise error if Redis not set
| @@ -4,6 +4,8 @@ module Searchkick |
| @@ -4,6 +4,8 @@ module Searchkick |
4
| |
4
| |
5
| def initialize(name) |
5
| def initialize(name) |
6
| @name = name |
6
| @name = name |
| |
7
| + |
| |
8
| + raise Searchkick::Error, "Searchkick.redis not set" unless redis |
7
| end |
9
| end |
8
| |
10
| |
9
| def push(record_id) |
11
| def push(record_id) |