title: Showing only the most popular tags in the acts_as_taggable_on tag cloud
body: <p>Acts-as-taggable works great and everything but I was wondering if there was a way to restrict the tag cloud to only the most popular tags? Right not it looks like its ordering my cloud by the order in which the tags were created.</p>
  
  <p>But it makes more sense to have the tag cloud show only the most popular tags.</p>
  
  <p>My controller has:</p>
  
  <pre><code>  def styles_tag_cloud
       @tags = Tattoo.tag_counts_on(:styles).limit(40)
    end
  </code></pre>
  
  <p>and my view has:</p>
  
  <pre><code>&lt;% tag_cloud(styles_tag_cloud, %w(css1 css2 css3 css4)) do |tag, css_class| %&gt;
    &lt;%= link_to tag.name, { :action =&gt; :tagged, :controller =&gt;:index, :id =&gt; tag.name }, :class =&gt; css_class %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>But all this does is display the first 40 tags created, and then sizes each tag according to how many times its used</p>