Class: ActiveAny::Associations::Builder::BelongsTo

Inherits:
Association
  • Object
show all
Defined in:
lib/active_any/associations/builder/belongs_to.rb

Instance Attribute Summary

Attributes inherited from Association

#inversed, #loaded, #owner, #reflection, #target

Class Method Summary collapse

Methods inherited from Association

#association_scope, #find_from_target?, #find_target, #initialize, #klass, #load_target, #loaded!, #loaded?, #reader, #reload, #reset, #reset_scope, #scope, #set_inverse_instance, #target_scope, #writer

Constructor Details

This class inherits a constructor from ActiveAny::Associations::Association

Class Method Details

.macroObject



7
8
9
# File 'lib/active_any/associations/builder/belongs_to.rb', line 7

def self.macro
  :belongs_to
end