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, #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



56
57
58
# File 'lib/active_force/association/relation_model_builder.rb', line 56

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