Class: ActsAsTaggableOn::Taggable::TaggedWithQuery::AnyTagsQuery
- Inherits:
-
QueryBase
- Object
- QueryBase
- ActsAsTaggableOn::Taggable::TaggedWithQuery::AnyTagsQuery
- Defined in:
- lib/acts_as_taggable_on/taggable/tagged_with_query/any_tags_query.rb
Instance Method Summary collapse
Methods inherited from QueryBase
Constructor Details
This class inherits a constructor from ActsAsTaggableOn::Taggable::TaggedWithQuery::QueryBase
Instance Method Details
#build ⇒ Object
3 4 5 6 7 |
# File 'lib/acts_as_taggable_on/taggable/tagged_with_query/any_tags_query.rb', line 3 def build taggable_model.where(model_has_at_least_one_tag) .order(Arel.sql(order_conditions)) .readonly(false) end |