<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/autotest/discover.rb</filename>
    </added>
    <added>
      <filename>spec/spec.opts</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -6,6 +6,10 @@ module ActiveRecord
       end
       
       module ClassMethods
+        def taggable?
+          false
+        end
+        
         def acts_as_taggable
           acts_as_taggable_on :tags
         end
@@ -22,6 +26,10 @@ module ActiveRecord
             end
             
             self.class_eval &lt;&lt;-RUBY
+              def self.taggable?
+                true
+              end
+              
               def self.caching_#{tag_type.singularize}_list?
                 caching_tag_list_on?(&quot;#{tag_type}&quot;)
               end</diff>
      <filename>lib/acts_as_taggable_on/acts_as_taggable_on.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,20 @@
 require File.dirname(__FILE__) + '/../spec_helper'
 
 describe &quot;Acts As Taggable On&quot; do
+  it &quot;should provide a class method 'taggable?' that is false for untaggable models&quot; do
+    UntaggableModel.should_not be_taggable
+  end
+  
   describe &quot;Taggable Method Generation&quot; do
     before(:each) do
       [TaggableModel, Tag, Tagging, TaggableUser].each(&amp;:delete_all)
       @taggable = TaggableModel.new(:name =&gt; &quot;Bob Jones&quot;)
     end
   
+    it &quot;should respond 'true' to taggable?&quot; do
+      @taggable.class.should be_taggable
+    end
+    
     it &quot;should create a class attribute for tag types&quot; do
       @taggable.class.should respond_to(:tag_types)
     end</diff>
      <filename>spec/acts_as_taggable_on/acts_as_taggable_on_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -23,4 +23,7 @@ end
 
 class TaggableUser &lt; ActiveRecord::Base
   acts_as_tagger
+end
+
+class UntaggableModel &lt; ActiveRecord::Base
 end
\ No newline at end of file</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b24f78da31c133750a13ef6bfc1e666e22e2189c</id>
    </parent>
  </parents>
  <author>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </author>
  <url>http://github.com/mbleigh/acts-as-taggable-on/commit/8b261f2641aaeb46d5d1892badd69a6f75fde401</url>
  <id>8b261f2641aaeb46d5d1892badd69a6f75fde401</id>
  <committed-date>2008-06-19T18:13:09-07:00</committed-date>
  <authored-date>2008-06-19T18:13:09-07:00</authored-date>
  <message>Added autotest scaffolding, now models will have a 'taggable?' class method that is true if they're taggable and false if not.</message>
  <tree>ed43e4472b1bb495c372a4ffb1c94362a05a9936</tree>
  <committer>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </committer>
</commit>
