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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -