<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,16 +23,16 @@ This plugin currently assumes your application only uses one CouchDB database.
 
 Install with the native Rails plugin installation script:
 
-    script/plugin install git://github.com/hpoydar/couchrest-rails.git
+    script/plugin install git://github.com/hpoydar/couchrest_rails.git
 
 Or simply add to vendor/plugins and generate the files you need:
 
     script/generate couch_rest_rails relax
     
-The plugin creates one folder:
+The plugin creates two folder:
 
-* `db/couch/fixtures` - for storing CouchDB fixtures (yaml)
-* `db/couch/views` - for storing CouchDB map and reduce functions (views)
+* `db/couch/` - for storing CouchDB database information map and reduce functions (views) and lucene indexing (lucence
+* `test/fixtures/couch` - for storing and loading CouchDB fixtures (yaml)
 
 These paths can be customized in an initializer or environment configuration file:
 
@@ -61,7 +61,7 @@ There are also some simple matchers you can can use to spec validations.  See `s
 For models, inherit from CouchRestRails::Document, which hooks up CouchRest::ExtendedDocument to your CouchDB backend   and includes the [Validatable](http://validatable.rubyforge.org/) module:
 
     class YourCouchDocument &lt; CouchRestRails::Document
-      use_database 'database_name'
+      use_database :database_name
 
       property  :email
       property  :question
@@ -86,13 +86,18 @@ See the CouchRest documentation and specs for more information about CouchRest::
 Custom views--outside of the ones defined in your CouchRestRails::Document models--that you want to push up to the CouchDB database/server instance should be in the following format:
 
     db/couch/&lt;database_name&gt;/views
-            |-- &lt;design_document_name&gt;
-                |-- &lt;view_name&gt;
-                    |-- map.js
-                    `-- reduce.js
-                
+                               |-- &lt;design_document_name&gt;
+                                   |-- &lt;view_name&gt;
+                                       |-- map.js
+                                       `-- reduce.js
+                            /lucene
+                               |-- &lt;design_document_name&gt;
+                                     |-- &lt;lucene_search&gt;
+ 
 Push up your views via rake (`rake couchdb:views:push`) or within your code or console (`CouchRestRails::Views.push`).
 
+Push up your lucene doc via rake (`rake couchdb:lucence:push`) or within your code or console (`CouchRestRails::Lucene.push`).
+
 ## Further development and testing
 
 To run the test suite, you'll need rspec installed with rspec-rails library enabled for the host application. You can run the tests in the following way:
@@ -103,6 +108,19 @@ To run the test suite, you'll need rspec installed with rspec-rails library enab
     
 (The latter requires the ZenTest gem)
 
+# Rails integration unit testing 
+
+Create fixture file by via rake (`rake couchdb:fixture:dump[&lt;database_name&gt;]`) or within your code or console (`CouchRestRails::Fixtures.dump[&lt;database_name&gt;]`).
+
+Add fixtures to rails test:
+
+class RailsTest &lt; Test::Unit::TestCase
+    couchdb_fixtures :&lt;database_name&gt;
+
+    ...
+
+end
+
 ## TODO
 
 * Roll up CouchRest::ExtendedDocument, since it might be deprecated from CouchRest (see CouchRest raw branch)
@@ -112,7 +130,6 @@ To run the test suite, you'll need rspec installed with rspec-rails library enab
 * Restful model/controller/test/spec generator
 * Gemify
 * Add more parseable options to couchdb.yml
-* Expand beyond a single database per application
 
 ## License
 </diff>
      <filename>README.md</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ class CouchRestRailsGenerator &lt; Rails::Generator::NamedBase
     record do |m|
 
       m.directory &quot;db/couch&quot;
-
+      m.directory &quot;test/fixtures/couch&quot;
       m.template &quot;couchdb.yml&quot;, &quot;config/couchdb.yml&quot;
       m.template &quot;couchdb_initializer.rb&quot;, &quot;config/initializers/couchdb.rb&quot;
     end</diff>
      <filename>generators/couch_rest_rails/couch_rest_rails_generator.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>61c2ea8085d65d5fed63905067a4df2deac875b0</id>
    </parent>
  </parents>
  <author>
    <name>dave farkas</name>
    <email>dave@interactivemediums.com</email>
  </author>
  <url>http://github.com/sakrafd/couchrest_rails/commit/7c838432d983bfda86d750a96bcd1b4d7b838358</url>
  <id>7c838432d983bfda86d750a96bcd1b4d7b838358</id>
  <committed-date>2009-07-15T09:27:50-07:00</committed-date>
  <authored-date>2009-07-15T09:27:50-07:00</authored-date>
  <message>updating readme and fixing generator</message>
  <tree>e612b745e24a640edc47589f075a79dc0d3bdbb0</tree>
  <committer>
    <name>dave farkas</name>
    <email>dave@interactivemediums.com</email>
  </committer>
</commit>
