Sha256: a8f688c7c33a84138162ac0533a723841a43e71859a73177770a4f5eeae7060c
Contents?: true
Size: 325 Bytes
Versions: 2
Compression:
Stored size: 325 Bytes
Contents
class TagCloud < ActiveRecord::Base def self.language_tags language_id = 38, grain_size = 'all', filter = '' cloud = TagCloud.find(:first, :conditions => ["language_id = ? AND grain_size = ? AND filter = ? ", language_id, grain_size, filter.sort.join('/')]) cloud.nil? ? '' : cloud.tag_list end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
muck-raker-0.1.14 | app/models/tag_cloud.rb |
muck-raker-0.1.15 | app/models/tag_cloud.rb |