Class: ROM::Associations::Definitions::ManyToMany Private
- Defined in:
- lib/rom/associations/definitions/many_to_many.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#through ⇒ ThroughIdentifier
readonly
The name of the “through” relation.
Attributes inherited from Abstract
#alias, #combine_keys, #foreign_key, #name, #override, #relation, #result, #source, #target, #view
Instance Method Summary collapse
- #through_assoc_name ⇒ Object private
- #through_relation ⇒ Object private
Methods inherited from Abstract
#aliased?, new, #override?, process_options, resolve_target_name, #type
Methods included from Initializer
Instance Attribute Details
#through ⇒ ThroughIdentifier (readonly)
Returns The name of the “through” relation.
13 |
# File 'lib/rom/associations/definitions/many_to_many.rb', line 13 option :through, reader: true |
Instance Method Details
#through_assoc_name ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/rom/associations/definitions/many_to_many.rb', line 21 def through_assoc_name through.assoc_name end |
#through_relation ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/rom/associations/definitions/many_to_many.rb', line 16 def through_relation through.relation end |