Class: ActiveData::ActiveRecord::Associations::Reflections::EmbedsMany
- Inherits:
-
Model::Associations::Reflections::EmbedsMany
- Object
- Model::Associations::Reflections::Base
- Model::Associations::Reflections::EmbedsAny
- Model::Associations::Reflections::EmbedsMany
- ActiveData::ActiveRecord::Associations::Reflections::EmbedsMany
- Defined in:
- lib/active_data/active_record/associations.rb
Constant Summary
Constants inherited from Model::Associations::Reflections::Base
Model::Associations::Reflections::Base::READ, Model::Associations::Reflections::Base::WRITE
Instance Attribute Summary
Attributes inherited from Model::Associations::Reflections::Base
#name, #options, #parent_reflection
Instance Method Summary collapse
Methods inherited from Model::Associations::Reflections::EmbedsMany
Methods inherited from Model::Associations::Reflections::EmbedsAny
build, #embedded?, #inspect, #klass
Methods inherited from Model::Associations::Reflections::Base
association_class, #belongs_to?, build, #build_association, #collection?, #default, generate_methods, #initialize, #klass, #macro, #read_source, #write_source
Constructor Details
This class inherits a constructor from ActiveData::Model::Associations::Reflections::Base
Instance Method Details
#is_a?(klass) ⇒ Boolean
23 24 25 |
# File 'lib/active_data/active_record/associations.rb', line 23 def is_a?(klass) super || klass == ::ActiveRecord::Reflection::AssociationReflection end |