Class: Dynomite::Associations::HasOne

Inherits:
Object
  • Object
show all
Includes:
SingleAssociation
Defined in:
lib/dynomite/associations/has_one.rb

Instance Attribute Summary

Attributes included from Association

#loaded, #name, #options, #source

Method Summary

Methods included from SingleAssociation

#==, #associate, #associate_one_way, #create, #create!, #declaration_field_name, #disassociate, #disassociate_one_way, #empty?, #method_missing, #nil?, #reader_target, #respond_to_missing?, #setter

Methods included from Association

#coerce_to_id, #coerce_to_item, #declaration_field_name, #declaration_field_type, #find_target, #initialize, #loaded?, #reader_target, #reset, #target

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Dynomite::Associations::SingleAssociation