class ThinkingSphinx::Search::StaleIdsException

Attributes

context[R]
ids[R]

Public Class Methods

new(ids, context) click to toggle source
# File lib/thinking_sphinx/search/stale_ids_exception.rb, line 6
def initialize(ids, context)
  @ids = ids
  @context = context
end

Public Instance Methods

message() click to toggle source
# File lib/thinking_sphinx/search/stale_ids_exception.rb, line 11
def message
  "Record IDs found by Sphinx but not by ActiveRecord : #{ids.join(', ')}\n" \
  "https://freelancing-gods.com/thinking-sphinx/v5/common_issues.html#record-ids"
end