<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>spec/acts_as_taggable_on/acts_as_tagger_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -24,10 +24,14 @@ module ActiveRecord
         end
         
         def tag(taggable, opts={})
+          opts.reverse_merge!(:force =&gt; true)
+
           return false unless taggable.respond_to?(:is_taggable?) &amp;&amp; taggable.is_taggable?
           raise &quot;You need to specify a tag context using :on&quot; unless opts.has_key?(:on)
           raise &quot;You need to specify some tags using :with&quot; unless opts.has_key?(:with)
-          raise &quot;No context :#{opts[:on]} defined in #{taggable.class.to_s}&quot; unless taggable.tag_types.include?(opts[:on])
+          raise &quot;No context :#{opts[:on]} defined in #{taggable.class.to_s}&quot; unless 
+              ( opts[:force] || taggable.tag_types.include?(opts[:on]) )
+
           taggable.set_tag_list_on(opts[:on].to_s, opts[:with], self)
           taggable.save
         end</diff>
      <filename>lib/acts_as_taggable_on/acts_as_tagger.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,9 @@
 require File.dirname(__FILE__) + '/../../../../spec/spec_helper'
 
+module Spec::Example::ExampleGroupMethods
+  alias :context :describe
+end
+
 plugin_spec_dir = File.dirname(__FILE__)
 ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + &quot;/debug.log&quot;)
 </diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b9b62566de1861dc111cc3ab96d49a39a2d86457</id>
    </parent>
  </parents>
  <author>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </author>
  <url>http://github.com/mbleigh/acts-as-taggable-on/commit/f36efe70ff7e78180104f3bedc99430df7c6e9cc</url>
  <id>f36efe70ff7e78180104f3bedc99430df7c6e9cc</id>
  <committed-date>2008-06-13T06:10:09-07:00</committed-date>
  <authored-date>2008-06-13T06:10:09-07:00</authored-date>
  <message>Another Sinclair Bain patch! This time it lets taggers create new contexts on the fly. [#19 status:resolved]</message>
  <tree>f45b72032359ddc088b4a47344f80905111e5edc</tree>
  <committer>
    <name>Michael Bleigh</name>
    <email>michael@intridea.com</email>
  </committer>
</commit>
