Exception: ActiveStash::NoMatchAllError

Inherits:
CollectionError show all
Defined in:
lib/active_stash/error.rb

Instance Method Summary collapse

Methods inherited from CollectionError

#initialize

Constructor Details

This class inherits a constructor from ActiveStash::CollectionError

Instance Method Details

#default_message(name) ⇒ Object



54
55
56
57
58
59
# File 'lib/active_stash/error.rb', line 54

def default_message(name)
  <<-STR
  There is no `stash_match_all` index defined for the '#{name}' collection.
  Queries of the form "Model.query(str)" require this to work.
  STR
end