<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,7 +9,34 @@ This plugin allows you to find rows adjacent to an arbitrary row by adding the f
 * find_adjacent_rows 	- find records to the right and left of current record
 ***************************************************************************
 
+h2. Usage
+
+&lt;pre&gt;
+	&lt;code&gt;
+class Product &lt; ActiveRecord::Base
+	has_adjacent_finders
+end
+
+@product = Product.find(1)
+
+@product.find_next_row
+@product.find_previous_row
+@product.find_adjacent_rows
+	&lt;/code&gt;
+&lt;/pre&gt;
+
+h2. Advanced usage
+
+&lt;pre&gt;
+	&lt;code&gt;
+@product = Product.find(1)
+
+@product.find_next_row({:conditions =&gt; &quot;category_id = #{@product.category_id}&quot;})
+@product.find_previous_row({:conditions =&gt; &quot;category_id = #{@product.category_id}&quot;})
+@product.find_adjacent_rows({:left =&gt; 2, :right =&gt; 3}, {:conditions =&gt; &quot;category_id = #{@product.category_id}&quot;, :order =&gt; 'id', :include =&gt; :shop})
+	&lt;/code&gt;
+&lt;/pre&gt;
+
 h2. Author
 
-&quot;Christian Hellsten&quot;:http://christianhellsten.com
-&quot;Aktagon Ltd.&quot;:http://aktagon.com
+&quot;Christian Hellsten&quot;:http://christianhellsten.com (&quot;Aktagon Ltd.&quot;:http://aktagon.com)</diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,7 @@ module HasAdjacentFinders
   end
   
   module PluginMethods
-    def adjacent_finder()
+    def has_adjacent_finders()
       extend ClassMethods
     end
   end</diff>
      <filename>lib/has_adjacent_finders.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1ac5a80b225a667488cf02da0302297a5295abdc</id>
    </parent>
  </parents>
  <author>
    <name>Christian Hellsten</name>
    <email>christian.hellsten@gmail.com</email>
  </author>
  <url>http://github.com/christianhellsten/has_adjacent_finders/commit/ef67314d0baaf4861a38d789663dcaf7aa785d6e</url>
  <id>ef67314d0baaf4861a38d789663dcaf7aa785d6e</id>
  <committed-date>2008-10-21T09:31:12-07:00</committed-date>
  <authored-date>2008-10-21T09:31:12-07:00</authored-date>
  <message>Fixed docs and typo.</message>
  <tree>db85670606c97073de8d810c23f3095b46b6c6d8</tree>
  <committer>
    <name>Christian Hellsten</name>
    <email>christian.hellsten@gmail.com</email>
  </committer>
</commit>
