Class: ROM::Associations::OneToOne

Inherits:
OneToMany show all
Defined in:
lib/rom/associations/one_to_one.rb

Overview

Abstract one-to-one association type

Constant Summary

Constants included from Memoizable

Memoizable::MEMOIZED_HASH

Instance Attribute Summary

Attributes inherited from Abstract

#definition, #relations, #source, #target

Attributes included from Memoizable

#__memoized__

Method Summary

Methods inherited from OneToMany

#associate, #call, #foreign_key

Methods inherited from Abstract

#aliased?, #apply_view, #as, #combine_keys, #foreign_key, #join_key_map, #key, #name, new, #node, #override?, #prepare, #result, #self_ref?, #view, #wrap

Methods included from Initializer

extended

Methods included from Memoizable

included