Module: Guacamole::Collection
- Extended by:
- ActiveSupport::Concern
- Included in:
- EdgeCollection
- Defined in:
- lib/guacamole/collection.rb
Overview
A collection persists and offers querying for models
You use this as a mixin in your collection classes. Per convention,
they are the plural form of your model with the suffix Collection
.
For example the collection of Blogpost
models would be BlogpostsCollection
.
Including Guacamole::Collection
will add a number of class methods to
the collection. See the ClassMethods
submodule for details
Defined Under Namespace
Modules: ClassMethods