<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -51,6 +51,10 @@ class BasicModel
     database
   end
 
+  def db
+    self.class.db(@database_name)
+  end
+
   def initialize(database_name, attributes={})
     @database_name = database_name
     @attributes    = default_attributes.merge(attributes)</diff>
      <filename>lib/basic_model.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>435f72383a5610c8c4a4a3cd46008db3397300a6</id>
    </parent>
  </parents>
  <author>
    <name>Geoffrey Grosenbach</name>
    <email>boss@topfunky.com</email>
  </author>
  <url>http://github.com/topfunky/basic_model/commit/596701cfbe856e012700e9d303b347c08fda1df5</url>
  <id>596701cfbe856e012700e9d303b347c08fda1df5</id>
  <committed-date>2008-09-13T22:27:53-07:00</committed-date>
  <authored-date>2008-09-13T22:27:53-07:00</authored-date>
  <message>Added instance accessor for CouchRest database connection object</message>
  <tree>d585dafcf135a06a7ceacd106610c4bd9b9949ab</tree>
  <committer>
    <name>Geoffrey Grosenbach</name>
    <email>boss@topfunky.com</email>
  </committer>
</commit>
