Exception: ActiveStash::NoCollectionError

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



30
31
32
33
34
35
# File 'lib/active_stash/error.rb', line 30

def default_message(name)
  <<-STR
  The collection '#{name}' does not exist.
  You probably need to create it via rake active_stash:collections:create
  STR
end