Sha256: 66facba18ef16adcfa2d2b0236c81c7528bf04f1f0b419849a3eae34acf0c852
Contents?: true
Size: 230 Bytes
Versions: 1
Compression:
Stored size: 230 Bytes
Contents
class Gutentag::TaggedWith::IDQuery < Gutentag::TaggedWith::Query private def taggable_ids_query Gutentag::Tagging.select(:taggable_id). where(:taggable_type => model.name). where(:tag_id => values) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gutentag-0.9.0 | lib/gutentag/tagged_with/id_query.rb |