<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,11 @@
 = pagination_scope
 
+This is a rails plugin module for mixing in pagination function.
+
 == Description
 
-  This is a rails plugin module for mixing in pagination function.
+This library is suitable to use together with complicated named_scope which has
+:joins options.  You can use the WillPaginate for ordinary case of pagination.
 
 == Installation
 
@@ -20,6 +23,21 @@
 
 == Synopsis
 
+In your model class,
+
+  class Post
+    include PaginationScope
+
+In your controller class,
+
+  class PostsController &lt; ApplicationController
+    def index
+      @posts = Post.not_deleted.paginate(params[:page], 10)
+
+In your view html.erb,
+
+  &lt;%= paginate @posts %&gt;
+
 
 == Copyright
 </diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>212b25cbcb2d148d82f9d6a5d128830992a75d7b</id>
    </parent>
  </parents>
  <author>
    <name>Genki Takiuchi</name>
    <email>genki@s21g.com</email>
  </author>
  <url>http://github.com/genki/pagination_scope/commit/e6379ba1def8cbc1bed060c07a88ac3176fbde7b</url>
  <id>e6379ba1def8cbc1bed060c07a88ac3176fbde7b</id>
  <committed-date>2008-08-14T06:05:43-07:00</committed-date>
  <authored-date>2008-08-14T06:05:43-07:00</authored-date>
  <message>Updated README</message>
  <tree>427371573152b68c0bc7813c14b8f6e25858d41b</tree>
  <committer>
    <name>Genki Takiuchi</name>
    <email>genki@s21g.com</email>
  </committer>
</commit>
