Exception: ActiveStash::NoCollectionError
- Inherits:
-
CollectionError
- Object
- StandardError
- ActiveStashError
- CollectionError
- ActiveStash::NoCollectionError
- Defined in:
- lib/active_stash/error.rb
Instance Method Summary collapse
Methods inherited from CollectionError
Constructor Details
This class inherits a constructor from ActiveStash::CollectionError
Instance Method Details
#default_message(name) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/active_stash/error.rb', line 30 def (name) <<-STR The collection '#{name}' does not exist. You probably need to create it via rake active_stash:collections:create STR end |