<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+== 2.1.2
+
+* Undefine the id method for the Search class, so that it acts like a condition.
+
 == 2.1.1 released 2009-06-28
 
 * Added inner_join convenience method.</diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -36,6 +36,7 @@ module Searchlogic
     end
     
     attr_accessor :klass, :current_scope, :conditions
+    undef :id
     
     # Creates a new search object for the given class. Ex:
     #</diff>
      <filename>lib/searchlogic/search.rb</filename>
    </modified>
    <modified>
      <diff>@@ -136,6 +136,11 @@ describe &quot;Search&quot; do
       lambda { search.unknown = true }.should raise_error(Searchlogic::Search::UnknownConditionError)
     end
     
+    it &quot;should not use the ruby implementation of the id method&quot; do
+      search = User.search
+      search.id.should be_nil
+    end
+    
     context &quot;type casting&quot; do
       it &quot;should be a Boolean given true&quot; do
         search = User.search</diff>
      <filename>spec/search_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f4b2e25a40d1cc7710016f177a0e9b247a9d2e4b</id>
    </parent>
  </parents>
  <author>
    <name>binarylogic</name>
    <email>bjohnson@binarylogic.com</email>
  </author>
  <url>http://github.com/binarylogic/searchlogic/commit/101d488135dbc8b58840b1c4ffcc82b688d6b3c1</url>
  <id>101d488135dbc8b58840b1c4ffcc82b688d6b3c1</id>
  <committed-date>2009-07-03T15:23:40-07:00</committed-date>
  <authored-date>2009-07-03T15:23:40-07:00</authored-date>
  <message>* Undefine the id method for the Search class, so that it acts like a condition.</message>
  <tree>b6384e2503f47d0411f11103fc16a5e4c8a0878f</tree>
  <committer>
    <name>binarylogic</name>
    <email>bjohnson@binarylogic.com</email>
  </committer>
</commit>
