Class: Perry::Association::HasMany
- Defined in:
- lib/perry/association.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Has
#foreign_key, #polymorphic?, #polymorphic_type, #scope
Methods inherited from Base
#eager_loadable?, #foreign_key, #initialize, #polymorphic?, #primary_key, #scope, #target_klass
Constructor Details
This class inherits a constructor from Perry::Association::Base
Instance Method Details
#collection? ⇒ Boolean
246 247 248 |
# File 'lib/perry/association.rb', line 246 def collection? true end |
#type ⇒ Object
250 251 252 |
# File 'lib/perry/association.rb', line 250 def type :has_many end |