You are here: Browse Railsplugins Tag Cloud
= TagCloud Generates a “tag cloud”. Copy the assets/javascripts/tag_cloud.js file to your public/javascripts folder. Load the JavaScript in your layout:
<%= javascript_include_tag 'tag_cloud' %>
This plugin requires the presence of the polymorphic version of acts_as_taggable. Look for it at http://dev.rubyonrails.org/svn/rails/plugins/acts_as_taggable
Usage <%= tag_cloud(:post, :tag_list, :limit => 20, :order => :popularity, :target_class => :post %>Where:
NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly