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.



110
111
112
# File 'lib/model/nested/base.rb', line 110

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