Commit 96edeae417e1a1d481f24d3eaebc4c17b43e8978
1 parent
5bf620e2
Exists in
master
and in
2 other branches
Updated comment [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/record_data.rb
... | ... | @@ -25,7 +25,7 @@ module Searchkick |
25 | 25 | {delete: record_data} |
26 | 26 | end |
27 | 27 | |
28 | - # custom id useful for load: false | |
28 | + # custom id can be useful for load: false | |
29 | 29 | def search_id |
30 | 30 | id = record.respond_to?(:search_document_id) ? record.search_document_id : record.id |
31 | 31 | id.is_a?(Numeric) ? id : id.to_s | ... | ... |