Exception: ThinkingSphinx::Search::StaleIdsException
- Inherits:
-
StandardError
- Object
- StandardError
- ThinkingSphinx::Search::StaleIdsException
- Defined in:
- lib/thinking_sphinx/search/stale_ids_exception.rb
Instance Attribute Summary collapse
-
#ids ⇒ Object
readonly
Returns the value of attribute ids.
Instance Method Summary collapse
-
#initialize(ids) ⇒ StaleIdsException
constructor
A new instance of StaleIdsException.
- #message ⇒ Object
Constructor Details
#initialize(ids) ⇒ StaleIdsException
Returns a new instance of StaleIdsException.
4 5 6 |
# File 'lib/thinking_sphinx/search/stale_ids_exception.rb', line 4 def initialize(ids) @ids = ids end |
Instance Attribute Details
#ids ⇒ Object (readonly)
Returns the value of attribute ids.
2 3 4 |
# File 'lib/thinking_sphinx/search/stale_ids_exception.rb', line 2 def ids @ids end |
Instance Method Details
#message ⇒ Object
8 9 10 |
# File 'lib/thinking_sphinx/search/stale_ids_exception.rb', line 8 def "Record IDs found by Sphinx but not by ActiveRecord : #{ids.join(', ')}" end |