Sha256: c239245d9d6f2cfa946d6fbb0c9abaef7715c1266f784ae023bee93bb5db760c

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 Bytes

Contents

class ThinkingSphinx::Search::StaleIdsException < StandardError
  attr_reader :ids, :context

  def initialize(ids, context)
    @ids = ids
    @context = context
  end

  def message
    "Record IDs found by Sphinx but not by ActiveRecord : #{ids.join(', ')}"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 lib/thinking_sphinx/search/stale_ids_exception.rb
thinking-sphinx-3.4.1 lib/thinking_sphinx/search/stale_ids_exception.rb
thinking-sphinx-3.4.0 lib/thinking_sphinx/search/stale_ids_exception.rb
thinking-sphinx-3.3.0 lib/thinking_sphinx/search/stale_ids_exception.rb
thinking-sphinx-3.2.0 lib/thinking_sphinx/search/stale_ids_exception.rb