Exception: JOR::DocumentDoesNotNeedId
- Defined in:
- lib/jor/errors.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ DocumentDoesNotNeedId
constructor
A new instance of DocumentDoesNotNeedId.
Constructor Details
#initialize(name) ⇒ DocumentDoesNotNeedId
Returns a new instance of DocumentDoesNotNeedId.
43 44 45 |
# File 'lib/jor/errors.rb', line 43 def initialize(name) super %(The collection #{name} is auto-incremental. You must not define the "_id" of the document") end |