Class: DatastaxRails::Associations::Builder::HasOne

Inherits:
SingularAssociation show all
Defined in:
lib/datastax_rails/associations/builder/has_one.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Association

#model, #name, #options, #reflection

Instance Method Summary collapse

Methods inherited from SingularAssociation

#constructable?, #define_accessors

Methods inherited from Association

build, #initialize, #mixin

Constructor Details

This class inherits a constructor from DatastaxRails::Associations::Builder::Association

Instance Method Details

#buildObject


5
6
7
8
9
# File 'lib/datastax_rails/associations/builder/has_one.rb', line 5

def build
  reflection = super
  configure_dependency
  reflection
end