<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@ module ActsAsTaggableHelper
   def link_to_tag(tag)
     link_to(tag.name, tag_url(tag), :rel =&gt; 'tag')
   end
-  
+
   # Generate a tag cloud of the top 100 tags by usage, uses the proposed hTagcloud microformat.
   #
   # Inspired by http://www.juixe.com/techknow/index.php/2006/07/15/acts-as-taggable-tag-cloud/
@@ -12,24 +12,24 @@ module ActsAsTaggableHelper
     options.reverse_merge! :limit =&gt; 100, :sort =&gt; :name
     sort = options.delete(:sort)
 
-    tags = Tag.find(:all, options.merge(:order =&gt; 'taggings_count DESC')).sort_by(&amp;sort)
-    
+    tags = Tag.find(:all, options.merge(:order =&gt; 'taggings_count DESC')).sort_by(&amp;:sort)
+
     # TODO: add option to specify which classes you want and overide this if you want?
     classes = %w(popular v-popular vv-popular vvv-popular vvvv-popular)
-    
+
     max, min = 0, 0
     tags.each do |tag|
       max = tag.taggings_count if tag.taggings_count &gt; max
       min = tag.taggings_count if tag.taggings_count &lt; min
     end
-    
+
     divisor = ((max - min) / classes.size) + 1
-    
+
     html =    %(&lt;div class=&quot;hTagcloud&quot;&gt;\n)
     html &lt;&lt;   %(  &lt;ul class=&quot;popularity&quot;&gt;\n)
     tags.each do |tag|
       html &lt;&lt; %(    &lt;li&gt;)
-      html &lt;&lt; link_to(tag.name, tag_url(tag), :class =&gt; classes[(tag.taggings_count - min) / divisor]) 
+      html &lt;&lt; link_to(tag.name, tag_url(tag), :class =&gt; classes[(tag.taggings_count - min) / divisor])
       html &lt;&lt; %(&lt;/li&gt; \n)
     end
     html &lt;&lt;   %(  &lt;/ul&gt;\n)</diff>
      <filename>lib/acts_as_taggable_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>577919a39162ec93545cebf3638836afcf8ecc64</id>
    </parent>
  </parents>
  <author>
    <name>Akshay Shah</name>
    <email>ashah@backchannelmedia.com</email>
  </author>
  <url>http://github.com/geemus/acts_as_taggable_redux/commit/88d85aa0865e2c29ccf24855f9cd02a37d6744fb</url>
  <id>88d85aa0865e2c29ccf24855f9cd02a37d6744fb</id>
  <committed-date>2009-10-05T13:30:06-07:00</committed-date>
  <authored-date>2009-10-05T13:11:20-07:00</authored-date>
  <message>fix sorting typo in helper</message>
  <tree>15eba9cd414889675877b3808ccc88f01b914bff</tree>
  <committer>
    <name>Wesley Beary</name>
    <email>me@geemus.com</email>
  </committer>
</commit>
