Class: Reactive::MetaModel::Association
- Defined in:
- lib/reactive-core/meta_model.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
readonly
returns an array of column names that are handled by the association By default, foreign keys are in this array, counter cache and also _type columns for polymorphic assocations may be there too.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#polymorphic ⇒ Object
(also: #polymorphic?)
readonly
Returns the value of attribute polymorphic.
Instance Attribute Details
#columns ⇒ Object (readonly)
returns an array of column names that are handled by the association By default, foreign keys are in this array, counter cache and also _type columns for polymorphic assocations may be there too.
40 41 42 |
# File 'lib/reactive-core/meta_model.rb', line 40 def columns @columns end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
34 35 36 |
# File 'lib/reactive-core/meta_model.rb', line 34 def kind @kind end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
34 35 36 |
# File 'lib/reactive-core/meta_model.rb', line 34 def klass @klass end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
34 35 36 |
# File 'lib/reactive-core/meta_model.rb', line 34 def name @name end |
#polymorphic ⇒ Object (readonly) Also known as: polymorphic?
Returns the value of attribute polymorphic.
34 35 36 |
# File 'lib/reactive-core/meta_model.rb', line 34 def polymorphic @polymorphic end |