Class: Fire::NestedModel::CollectionIsSetError

Inherits:
FireModelError
  • Object
show all
Defined in:
lib/model/nested/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(nested_model) ⇒ CollectionIsSetError

Returns a new instance of CollectionIsSetError.



137
138
139
# File 'lib/model/nested/base.rb', line 137

def initialize(nested_model)
  super("Nested Model '#{nested_model}' can not have own Collection. It is extended from Parent Model '#{nested_model.parent}'")
end