<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
   s.rdoc_options = [&quot;--main&quot;, &quot;README.rdoc&quot;]
   s.summary = &quot;acts_as_revisable enables revision tracking, querying, reverting and branching of ActiveRecord models. Inspired by acts_as_versioned.&quot;
   s.name = &quot;acts_as_revisable&quot;
-  s.version = &quot;0.9.6&quot;
+  s.version = &quot;0.9.7&quot;
   s.extra_rdoc_files = [&quot;README.rdoc&quot;, &quot;LICENSE&quot;]
   s.email = &quot;cavanaugh@fatjam.com&quot;
   s.has_rdoc = true</diff>
      <filename>acts_as_revisable.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,8 @@ module FatJam
 
         base.instance_eval do
           define_callbacks :before_branch, :after_branch      
-          has_many :branches, :class_name =&gt; base.class_name, :foreign_key =&gt; :revisable_branched_from_id
+          has_many :branches, (revisable_options.revision_association_options || {}).merge({:class_name =&gt; base.class_name, :foreign_key =&gt; :revisable_branched_from_id})
+                    
           belongs_to :branch_source, :class_name =&gt; base.class_name, :foreign_key =&gt; :revisable_branched_from_id
           after_save :execute_blocks_after_save
           disable_revisable_scope :branch_source, :branches</diff>
      <filename>lib/acts_as_revisable/acts/common.rb</filename>
    </modified>
    <modified>
      <diff>@@ -37,12 +37,13 @@ module FatJam
         # Performs the setup needed for both kinds of acts_as_revisable
         # models.
         def revisable_shared_setup(args, block)
-          self.send(:include, Common)
           class &lt;&lt; self
             attr_accessor :revisable_options
           end
           options = args.extract_options!
           self.revisable_options = Options.new(options, &amp;block)
+          
+          self.send(:include, Common)
         end
     end
   end</diff>
      <filename>lib/acts_as_revisable/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ module FatJam #:nodoc:
     module VERSION #:nodoc:
       MAJOR = 0
       MINOR = 9
-      TINY  = 6
+      TINY  = 7
 
       STRING = [MAJOR, MINOR, TINY].join('.')
     end</diff>
      <filename>lib/acts_as_revisable/version.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>97fc9feab2b3e4eecc578c6bae5fe162d03b871d</id>
    </parent>
  </parents>
  <author>
    <name>Rich Cavanaugh</name>
    <email>rich@silverback.local</email>
  </author>
  <url>http://github.com/fatjam/acts_as_revisable/commit/bc88a56b8e57d6bdb94a8d65ca108a1f781c071d</url>
  <id>bc88a56b8e57d6bdb94a8d65ca108a1f781c071d</id>
  <committed-date>2008-07-22T09:59:43-07:00</committed-date>
  <authored-date>2008-07-22T09:59:43-07:00</authored-date>
  <message>Apply revision_association_options to the branches association.</message>
  <tree>cf9480930a37399eae6d1ccc028d04eed74859f7</tree>
  <committer>
    <name>Rich Cavanaugh</name>
    <email>rich@silverback.local</email>
  </committer>
</commit>
