mongoid3 - Create Tag Cloud with Mongoid Taggable Gem -


I want to create a tag cloud like you can do with a work-by-tagable gem, this is an example Is a work-by-tagmable readmeck from:

  & lt;% tag_cloud (@ tags,% w (css1 css2 css3 css4)). Tag, css_class | & Gt%; & Lt;% = link_to tag name, {: action = & gt; : Tag, id = & gt; Tag.name} ,: class = & gt; Css_class% & gt; & Lt;% end% & gt; Using a different method with tagging, the mongoid_taggable gem, tags_with_weight that gives an array of tags and is used many times but I do not know how it repeats the cloud based on this information. 


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -