Class: Guise::HasGuisesScope Private
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Direct Known Subclasses
Instance Method Summary collapse
- #call ⇒ Object private
- #type ⇒ Object private
Methods inherited from Scope
Constructor Details
This class inherits a constructor from Guise::Scope
Instance Method Details
#call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/guise/scopes.rb', line 14 def call relation.create_with(association_name => [association_relation.new]) end |
#type ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 |
# File 'lib/guise/scopes.rb', line 18 def type :has_guises end |