<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 class Tag &lt; ActiveRecord::Base
-  has_many :taggings
+  has_many :taggings, :dependent =&gt; :destroy
   has_many :posts, :through =&gt; :taggings
   
   validates_length_of :name, :minimum =&gt; 2</diff>
      <filename>test/rails_root/app/models/tag.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + '/../test_helper'
 class TagTest &lt; Test::Unit::TestCase
   load_all_fixtures
 
-  should_have_many :taggings
+  should_have_many :taggings, :dependent =&gt; :destroy
   should_have_many :posts
   
   should_ensure_length_at_least :name, 2</diff>
      <filename>test/unit/tag_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9c78fe05a1897acc9455115725c09f408f5f67ba</id>
    </parent>
    <parent>
      <id>df7dbce012c69789f7f3bff500e2244a4fa1e173</id>
    </parent>
  </parents>
  <author>
    <name>Tammer Saleh</name>
    <email>tsaleh@thoughtbot.com</email>
  </author>
  <url>http://github.com/thechrisoshow/shoulda/commit/af11bb115ee4cca8c79c0dd7d87454ccc5f7da88</url>
  <id>af11bb115ee4cca8c79c0dd7d87454ccc5f7da88</id>
  <committed-date>2008-06-07T08:01:43-07:00</committed-date>
  <authored-date>2008-06-07T08:01:43-07:00</authored-date>
  <message>Merge git://github.com/thechrisoshow/shoulda into pull-requests

* Fixed so you can specify dependent as symbol or string, and without :through option

* git://github.com/thechrisoshow/shoulda:
  Added dependent option to should_have_many</message>
  <tree>fba220cd56b2840b4d12d14ac82e4da865c7b0be</tree>
  <committer>
    <name>Tammer Saleh</name>
    <email>tsaleh@thoughtbot.com</email>
  </committer>
</commit>
