33 34 35
# File 'lib/cms/behaviors/taggable.rb', line 33 def tag_cloud Cms::Tagging.cloud(base_class.name) end
37 38 39
# File 'lib/cms/behaviors/taggable.rb', line 37 def tag_separator @tag_separator end
29 30 31
# File 'lib/cms/behaviors/taggable.rb', line 29 def tagged_with(t) where(["#{Cms::Tag.table_name}.name = ?", t]).includes(:taggings => :tag).references(:tags) end