Sha256: 8323df351cdb7ae3cd5da594d653693628b3b0c773b88ac112f46ce25c854529
Contents?: true
Size: 267 Bytes
Versions: 9
Compression:
Stored size: 267 Bytes
Contents
class TagCloud < ActiveRecord::Base def self.language_tags language_id = 38, filter = '' results = TagCloud.find(:all, :conditions => ["language_id = ? AND filter = ?", language_id, filter]) results.empty? ? '' : results[0].tag_list end end
Version data entries
9 entries across 9 versions & 1 rubygems