Class: Fire::NestedModel::CollectionIsSetError
- Inherits:
- 
      FireModelError
      
        - Object
- FireModelError
- Fire::NestedModel::CollectionIsSetError
 
- Defined in:
- lib/model/nested/base.rb
Instance Method Summary collapse
- 
  
    
      #initialize(nested_model)  ⇒ CollectionIsSetError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CollectionIsSetError. 
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 |