Module: Polivalente::Taggable::ClassMethods
- Defined in:
- app/models/concerns/polivalente/taggable.rb
Instance Method Summary collapse
Instance Method Details
#tagged_with(name) ⇒ Object
39 40 41 |
# File 'app/models/concerns/polivalente/taggable.rb', line 39 def tagged_with(name) self.joins(:tags).where(:tags => {:name => name}) end |