<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 = scoped_search
 
-This simple plugin will make it easy to search your ActiveRecord models. 
+This simple plugin will make it easy to search your ActiveRecord models. Searching is performed using a query string, which should be passed to the named_scope +search_for+ that uses SQL %LIKE% conditions for searching.
 
 == Installation
 
@@ -9,7 +9,7 @@ You can enable scoped_search as a Ruby gem. First, you have to install the gem o
   gem sources -a http://gems.github.com
   sudo gem install wvanbergen-scoped_search
 
-Now, you must enable the gem in your environment.rb configuration
+Now, you must enable the gem in your +environment.rb+ configuration:
   
   Rails::Initializer.run do |config|
     ...
@@ -17,7 +17,7 @@ Now, you must enable the gem in your environment.rb configuration
   end
 
 You can use scoped_search as a Rails plugin as well, but this is deprecated. Simply download or
-clone scoped_search into your vendor/plugin directory of your project.
+clone scoped_search into your +vendor/plugins+ directory of your project.
 
 == Usage
 
@@ -27,17 +27,21 @@ First, you have to specify in what columns should be searched:
     searchable_on :name, :description
   end
 
-Now, the search_for scope is available for queries.
+Now, the +search_for+ scope is available for queries. You should pass a query string to the scope. This can be empty or nil, in which case all no search conditions are set (and all records will be returned).
 
   Project.search_for(params[:q]).each { |project| ... }
 
+The search query language is simple. It supports these constructs:
+
+* words: some search keywords
+* phrases: &quot;a single search phrase&quot;
+* negation: &quot;look for this&quot; -&quot;but do not look for this phrase and this&quot; -word
 
 This functionality is build on named_scope. The searchable_on statement creates 
 a named_scope &quot;search_for&quot;. Because of this, you can actually chain the call with
 other scopes. For example, this can be very useful if you only want to search in 
 projects that are accessible by a given user.
 
-
   class Project &lt; ActiveRecord::Base
     searchable_on :name, :description
     named_scope :accessible_by, lambda { |user| ... }
@@ -46,15 +50,8 @@ projects that are accessible by a given user.
   # using chained named_scopes and will_paginate
   Project.accessible_by(current_user).search_for(params[:q]).paginate(:page =&gt; params[:page], :include =&gt; :tasks)
 
-The search query language is simple. It supports these constructs:
-
-* words: some search keywords
-* phrases: &quot;a single search phrase&quot;
-* negation: &quot;look for this&quot; -&quot;but do not look for this phrase and this&quot; -word
-
-
 == Disclaimer
 
-This Rails plugin is written by Willem van Bergen for the Floorplanner.com website. 
-It is released under the MIT license. Please contact me if you have any suggestions 
-or remarks.
\ No newline at end of file
+This Rails plugin is written by Willem van Bergen for the Floorplanner.com website. It is 
+released under the &lt;b&gt;MIT license&lt;/b&gt;. Please contact me (willem AT vanbergen DOT org if 
+you have any suggestions or remarks.
\ No newline at end of file</diff>
      <filename>README.rdoc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c6835688199c6c5c31f92e305781beec732c4e18</id>
    </parent>
    <parent>
      <id>5f0c7cf41002f9616c24f8bf5fc56f5455ee4e87</id>
    </parent>
  </parents>
  <author>
    <name>Willem van Bergen</name>
    <email>willem@vanbergen.org</email>
  </author>
  <url>http://github.com/wvanbergen/scoped_search/commit/e6fe6522def8601272b5cb92ccceb79a917b8730</url>
  <id>e6fe6522def8601272b5cb92ccceb79a917b8730</id>
  <committed-date>2008-09-03T23:32:34-07:00</committed-date>
  <authored-date>2008-09-03T23:32:34-07:00</authored-date>
  <message>Merge branch 'master' of git@github.com:wvanbergen/scoped_search</message>
  <tree>2120e6cea564fc3da72f82ed6958135fbc3992e7</tree>
  <committer>
    <name>Willem van Bergen</name>
    <email>willem@vanbergen.org</email>
  </committer>
</commit>
