Class: ActiveForce::Association::BuildFromNilClass

Inherits:
AbstractBuildFrom show all
Defined in:
lib/active_force/association/relation_model_builder.rb

Instance Attribute Summary

Attributes inherited from AbstractBuildFrom

#association, #association_mapping, #value

Instance Method Summary collapse

Methods inherited from AbstractBuildFrom

#initialize

Constructor Details

This class inherits a constructor from ActiveForce::Association::AbstractBuildFrom

Instance Method Details

#callObject



62
63
64
# File 'lib/active_force/association/relation_model_builder.rb', line 62

def call
  association.is_a?(HasManyAssociation) ? [] : nil
end