<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,148 +1,153 @@
-= acts_as_taggable_on_steroids
-
-If you find this plugin useful, please consider a donation to show your support!
-
-  http://www.paypal.com/cgi-bin/webscr?cmd=_send-money
-  
-  Email address: jonathan.viney@gmail.com
-  
-== Instructions
-
-This plugin is based on acts_as_taggable by DHH but includes extras
-such as tests, smarter tag assignment, and tag cloud calculations.
-
-== Installation
-
-  ruby script/plugin install http://svn.viney.net.nz/things/rails/plugins/acts_as_taggable_on_steroids
-
-== Usage
-
-=== Prepare database
-
-Generate and apply the migration:
-
-  ruby script/generate acts_as_taggable_migration
-  rake db:migrate
-
-=== Basic tagging
-
-Let's suppose users have many posts and we want those posts to have tags.
-The first step is to add +acts_as_taggable+ to the Post class:
-
-  class Post &lt; ActiveRecord::Base
-    acts_as_taggable
-    
-    belongs_to :user
-  end
-  
-We can now use the tagging methods provided by acts_as_taggable, &lt;tt&gt;#tag_list&lt;/tt&gt; and &lt;tt&gt;#tag_list=&lt;/tt&gt;. Both these
-methods work like regular attribute accessors.
-
-  p = Post.find(:first)
-  p.tag_list # []
-  p.tag_list = &quot;Funny, Silly&quot;
-  p.save
-  p.tag_list # [&quot;Funny&quot;, &quot;Silly&quot;]
-  
-You can also add or remove arrays of tags.
-
-  p.tag_list.add(&quot;Great&quot;, &quot;Awful&quot;)
-  p.tag_list.remove(&quot;Funny&quot;)
-
-=== Finding tagged objects
-
-To retrieve objects tagged with a certain tag, use find_tagged_with.
-
-  Post.find_tagged_with('Funny, Silly')
-  
-By default, find_tagged_with will find objects that have any of the given tags. To
-find only objects that are tagged with all the given tags, use match_all.
-
-  Post.find_tagged_with('Funny, Silly', :match_all =&gt; true)
-  
-See &lt;tt&gt;ActiveRecord::Acts::Taggable::InstanceMethods&lt;/tt&gt; for more methods and options.
-
-=== Tag cloud calculations
-
-To construct tag clouds, the frequency of each tag needs to be calculated.
-Because we specified +acts_as_taggable+ on the &lt;tt&gt;Post&lt;/tt&gt; class, we can
-get a calculation of all the tag counts by using &lt;tt&gt;Post.tag_counts&lt;/tt&gt;. But what if we wanted a tag count for
-an single user's posts? To achieve this we call tag_counts on the association:
-
-  User.find(:first).posts.tag_counts
-  
-A helper is included to assist with generating tag clouds. Include it in your helper file:
-
-  module ApplicationHelper
-    include TagsHelper
-  end
-
-Here is an example that generates a tag cloud.
-
-Controller:
-
-  class PostController &lt; ApplicationController
-    def tag_cloud
-      @tags = Post.tag_counts
-    end
-  end
-  
-View:
-  &lt;% tag_cloud @tags, %w(css1 css2 css3 css4) do |tag, css_class| %&gt;
-    &lt;%= link_to tag.name, { :action =&gt; :tag, :id =&gt; tag.name }, :class =&gt; css_class %&gt;
-  &lt;% end %&gt;
-  
-CSS:
-
-  .css1 { font-size: 1.0em; }
-  .css2 { font-size: 1.2em; }
-  .css3 { font-size: 1.4em; }
-  .css4 { font-size: 1.6em; }
-
-=== Caching
-
-It is useful to cache the list of tags to reduce the number of queries executed. To do this,
-add a column named &lt;tt&gt;cached_tag_list&lt;/tt&gt; to the model which is being tagged. The column should be long enough to hold
-the full tag list and must have a default value of null, not an empty string.
-
-  class CachePostTagList &lt; ActiveRecord::Migration
-    def self.up
-      add_column :posts, :cached_tag_list, :string
-    end
-  end
-
-  class Post &lt; ActiveRecord::Base
-    acts_as_taggable
-    
-    # The caching column defaults to cached_tag_list, but can be changed:
-    # 
-    # set_cached_tag_list_column_name &quot;my_caching_column_name&quot;
-  end
-
-The details of the caching are handled for you. Just continue to use the tag_list accessor as you normally would.
-Note that the cached tag list will not be updated if you directly create Tagging objects or manually append to the
-&lt;tt&gt;tags&lt;/tt&gt; or &lt;tt&gt;taggings&lt;/tt&gt; associations. To update the cached tag list you should call &lt;tt&gt;save_cached_tag_list&lt;/tt&gt; manually.
-
-=== Delimiter
-
-If you want to change the delimiter used to parse and present tags, set TagList.delimiter.
-For example, to use spaces instead of commas, add the following to config/environment.rb:
-
-  TagList.delimiter = &quot; &quot;
-  
-You can also use a regexp as delimiter:
-
-  TagList.delimiter = /,|;/
-  
-The above code would parse the string and use ',' and ';' as delimiters.
-
-=== Unused tags
-
-Set Tag.destroy_unused to remove tags when they are no longer being
-used to tag any objects. Defaults to false.
-
-  Tag.destroy_unused = true
-
-=== Other
-
-Problems, comments, and suggestions all welcome. jonathan.viney@gmail.com  
+= acts_as_taggable_on_steroids
+
+NOT THE OFFICIAL REPO, I just imported this project to get few bug fixed when I was using it for a project in early 2008.
+
+USE AT YOUR OWN RISK
+
+
+If you find this plugin useful, please consider a donation to show your support!
+
+  http://www.paypal.com/cgi-bin/webscr?cmd=_send-money
+  
+  Email address: jonathan.viney@gmail.com
+  
+== Instructions
+
+This plugin is based on acts_as_taggable by DHH but includes extras
+such as tests, smarter tag assignment, and tag cloud calculations.
+
+== Installation
+
+  ruby script/plugin install http://svn.viney.net.nz/things/rails/plugins/acts_as_taggable_on_steroids
+
+== Usage
+
+=== Prepare database
+
+Generate and apply the migration:
+
+  ruby script/generate acts_as_taggable_migration
+  rake db:migrate
+
+=== Basic tagging
+
+Let's suppose users have many posts and we want those posts to have tags.
+The first step is to add +acts_as_taggable+ to the Post class:
+
+  class Post &lt; ActiveRecord::Base
+    acts_as_taggable
+    
+    belongs_to :user
+  end
+  
+We can now use the tagging methods provided by acts_as_taggable, &lt;tt&gt;#tag_list&lt;/tt&gt; and &lt;tt&gt;#tag_list=&lt;/tt&gt;. Both these
+methods work like regular attribute accessors.
+
+  p = Post.find(:first)
+  p.tag_list # []
+  p.tag_list = &quot;Funny, Silly&quot;
+  p.save
+  p.tag_list # [&quot;Funny&quot;, &quot;Silly&quot;]
+  
+You can also add or remove arrays of tags.
+
+  p.tag_list.add(&quot;Great&quot;, &quot;Awful&quot;)
+  p.tag_list.remove(&quot;Funny&quot;)
+
+=== Finding tagged objects
+
+To retrieve objects tagged with a certain tag, use find_tagged_with.
+
+  Post.find_tagged_with('Funny, Silly')
+  
+By default, find_tagged_with will find objects that have any of the given tags. To
+find only objects that are tagged with all the given tags, use match_all.
+
+  Post.find_tagged_with('Funny, Silly', :match_all =&gt; true)
+  
+See &lt;tt&gt;ActiveRecord::Acts::Taggable::InstanceMethods&lt;/tt&gt; for more methods and options.
+
+=== Tag cloud calculations
+
+To construct tag clouds, the frequency of each tag needs to be calculated.
+Because we specified +acts_as_taggable+ on the &lt;tt&gt;Post&lt;/tt&gt; class, we can
+get a calculation of all the tag counts by using &lt;tt&gt;Post.tag_counts&lt;/tt&gt;. But what if we wanted a tag count for
+an single user's posts? To achieve this we call tag_counts on the association:
+
+  User.find(:first).posts.tag_counts
+  
+A helper is included to assist with generating tag clouds. Include it in your helper file:
+
+  module ApplicationHelper
+    include TagsHelper
+  end
+
+Here is an example that generates a tag cloud.
+
+Controller:
+
+  class PostController &lt; ApplicationController
+    def tag_cloud
+      @tags = Post.tag_counts
+    end
+  end
+  
+View:
+  &lt;% tag_cloud @tags, %w(css1 css2 css3 css4) do |tag, css_class| %&gt;
+    &lt;%= link_to tag.name, { :action =&gt; :tag, :id =&gt; tag.name }, :class =&gt; css_class %&gt;
+  &lt;% end %&gt;
+  
+CSS:
+
+  .css1 { font-size: 1.0em; }
+  .css2 { font-size: 1.2em; }
+  .css3 { font-size: 1.4em; }
+  .css4 { font-size: 1.6em; }
+
+=== Caching
+
+It is useful to cache the list of tags to reduce the number of queries executed. To do this,
+add a column named &lt;tt&gt;cached_tag_list&lt;/tt&gt; to the model which is being tagged. The column should be long enough to hold
+the full tag list and must have a default value of null, not an empty string.
+
+  class CachePostTagList &lt; ActiveRecord::Migration
+    def self.up
+      add_column :posts, :cached_tag_list, :string
+    end
+  end
+
+  class Post &lt; ActiveRecord::Base
+    acts_as_taggable
+    
+    # The caching column defaults to cached_tag_list, but can be changed:
+    # 
+    # set_cached_tag_list_column_name &quot;my_caching_column_name&quot;
+  end
+
+The details of the caching are handled for you. Just continue to use the tag_list accessor as you normally would.
+Note that the cached tag list will not be updated if you directly create Tagging objects or manually append to the
+&lt;tt&gt;tags&lt;/tt&gt; or &lt;tt&gt;taggings&lt;/tt&gt; associations. To update the cached tag list you should call &lt;tt&gt;save_cached_tag_list&lt;/tt&gt; manually.
+
+=== Delimiter
+
+If you want to change the delimiter used to parse and present tags, set TagList.delimiter.
+For example, to use spaces instead of commas, add the following to config/environment.rb:
+
+  TagList.delimiter = &quot; &quot;
+  
+You can also use a regexp as delimiter:
+
+  TagList.delimiter = /,|;/
+  
+The above code would parse the string and use ',' and ';' as delimiters.
+
+=== Unused tags
+
+Set Tag.destroy_unused to remove tags when they are no longer being
+used to tag any objects. Defaults to false.
+
+  Tag.destroy_unused = true
+
+=== Other
+
+Problems, comments, and suggestions all welcome. jonathan.viney@gmail.com  </diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>28314f402803456ce3c303aa02d4a768d9e1e55b</id>
    </parent>
  </parents>
  <author>
    <name>mattetti</name>
    <email>mattaimonetti@gmail.com</email>
  </author>
  <url>http://github.com/mattetti/acts_as_taggable_on_steroids/commit/9b869ea094b500a63b33802b4985e3d96f9c0038</url>
  <id>9b869ea094b500a63b33802b4985e3d96f9c0038</id>
  <committed-date>2008-11-07T20:10:02-08:00</committed-date>
  <authored-date>2008-11-07T20:10:02-08:00</authored-date>
  <message></message>
  <tree>36dd229c8dde4c8d43b39796f89c60c273732e82</tree>
  <committer>
    <name>mattetti</name>
    <email>mattaimonetti@gmail.com</email>
  </committer>
</commit>
