Class: MakeTaggable::Taggable::TaggedWithQuery::AllTagsQuery
- Defined in:
- lib/make_taggable/taggable/tagged_with_query/all_tags_query.rb
Instance Method Summary collapse
Methods inherited from QueryBase
Constructor Details
This class inherits a constructor from MakeTaggable::Taggable::TaggedWithQuery::QueryBase
Instance Method Details
#build ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/make_taggable/taggable/tagged_with_query/all_tags_query.rb', line 3 def build taggable_model.joins(each_tag_in_list) .group(by_taggable) .having() .order(order_conditions) .readonly(false) end |