Exception: ActsAsAsync::MissingIDError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/acts_as_async/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeMissingIDError

Returns a new instance of MissingIDError.



3
4
5
# File 'lib/acts_as_async/errors.rb', line 3

def initialize
  @message = "Cannot async methods on a record with no ID (i.e. unsaved records)."
end