Class: ActiveData::Model::Associations::ReferencesAny
- Defined in:
- lib/active_data/model/associations/references_any.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#apply_changes!, #callback, #evar_loaded?, #initialize, #inspect, #loaded!, #loaded?, #reload, #reset, #target, #transaction
Constructor Details
This class inherits a constructor from ActiveData::Model::Associations::Base
Instance Method Details
#scope(source = read_source) ⇒ Object
5 6 7 |
# File 'lib/active_data/model/associations/references_any.rb', line 5 def scope(source = read_source) reflection.persistence_adapter.scope(owner, source) end |