Class: DuckRecord::Associations::Builder::HasMany
- Inherits:
-
CollectionAssociation
- Object
- Association
- CollectionAssociation
- DuckRecord::Associations::Builder::HasMany
- Defined in:
- lib/duck_record/associations/builder/has_many.rb
Overview
:nodoc:
Constant Summary
Constants inherited from CollectionAssociation
CollectionAssociation::CALLBACKS
Constants inherited from Association
Class Method Summary collapse
Methods inherited from CollectionAssociation
define_callback, define_callbacks, define_extensions
Methods inherited from Association
build, build_scope, create_reflection, define_accessors, define_callbacks, define_extensions, define_readers, define_validations, define_writers, validate_options, wrap_scope
Class Method Details
.macro ⇒ Object
3 4 5 |
# File 'lib/duck_record/associations/builder/has_many.rb', line 3 def self.macro :has_many end |
.valid_options(_options) ⇒ Object
7 8 9 |
# File 'lib/duck_record/associations/builder/has_many.rb', line 7 def self.() super + [:primary_key, :through, :source, :source_type, :join_table, :foreign_type, :index_errors] end |