Module: Sack::Database::Model::Relationships
- Defined in:
- lib/sack/database/model/relationships.rb,
lib/sack/database/model/relationships/has_many.rb,
lib/sack/database/model/relationships/belongs_to.rb
Overview
Relationships Module
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Included: Inject Relationship Methods when included.
Class Method Details
.included(base) ⇒ Object
Included: Inject Relationship Methods when included.
24 25 26 |
# File 'lib/sack/database/model/relationships.rb', line 24 def self.included base base.extend ClassMethods end |