module RethinkORM::Associations
Direct including types
Defined in:
rethinkdb-orm/associations.crInstance Method Summary
Macro Summary
- 
        belongs_to(parent_class, dependent = :none, create_index = true, association_name = nil, foreign_key = nil, presence = false)
        
          Defines getter and setter for parent relationship 
- 
        has_many(child_class, collection_name = nil, dependent = :none, foreign_key = nil)
        
          Must be used in conjunction with the belongs_to macro 
- has_one(child_class, dependent = :none, create_index = false, association_name = nil, presence = false)
Instance Method Detail
Macro Detail
        
        macro belongs_to(parent_class, dependent = :none, create_index = true, association_name = nil, foreign_key = nil, presence = false)
        #
      
      
        Defines getter and setter for parent relationship
Must be used in conjunction with the belongs_to macro
        
        macro has_one(child_class, dependent = :none, create_index = false, association_name = nil, presence = false)
        #