<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,12 @@
+*0.3.1*
+
+* (7 Jan 2006) explicitly set :foreign_key option for the versioned model's belongs_to assocation for STI [Caged]
+* (7 Jan 2006) added tests to prove has_many :through joins work
+
 *0.3*
 
-* (2 Jan 2005) added ability to share a mixin with versioned class
-* (2 Jan 2005) changed the dynamic version model to MyModel::Version
+* (2 Jan 2006) added ability to share a mixin with versioned class
+* (2 Jan 2006) changed the dynamic version model to MyModel::Version
 
 *0.2.4*
 </diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,7 @@ require 'rake/testtask'
 require 'rake/contrib/rubyforgepublisher'
 
 PKG_NAME           = 'acts_as_versioned'
-PKG_VERSION        = '0.3'
+PKG_VERSION        = '0.3.1'
 PKG_FILE_NAME      = &quot;#{PKG_NAME}-#{PKG_VERSION}&quot;
 PROD_HOST          = &quot;technoweenie@bidwell.textdrive.com&quot;
 RUBY_FORGE_PROJECT = 'ar-versioned'</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -196,7 +196,7 @@ module ActiveRecord #:nodoc:
           dynamic_model = &lt;&lt;-EOV
             class #{self.to_s}::#{versioned_class_name} &lt; ActiveRecord::Base
               set_table_name &quot;#{versioned_table_name}&quot;
-              belongs_to :#{self.to_s.demodulize.underscore}, :class_name =&gt; &quot;#{self.to_s}&quot;
+              belongs_to :#{self.to_s.demodulize.underscore}, :class_name =&gt; &quot;#{self.to_s}&quot;, :foreign_key =&gt; &quot;#{versioned_foreign_key}&quot;
           EOV
           
           dynamic_model += %Q{include #{options[:extend].to_s}\n} if options[:extend].is_a?(Module)</diff>
      <filename>lib/acts_as_versioned.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3f3d13573e2f024d9e4d39ea5474ddffa68c1896</id>
    </parent>
  </parents>
  <author>
    <name>technoweenie</name>
    <email>technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78</email>
  </author>
  <url>http://github.com/codafoo/acts_as_versioned/commit/2590730df6fc9fa3a4f569ff8834f2692773e145</url>
  <id>2590730df6fc9fa3a4f569ff8834f2692773e145</id>
  <committed-date>2006-01-07T22:02:40-08:00</committed-date>
  <authored-date>2006-01-07T22:02:40-08:00</authored-date>
  <message>updated changelog and version

git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@592 567b1171-46fb-0310-a4c9-b4bef9110e78</message>
  <tree>392a9cfe0ff398bbc362f3cbf063ac9d5096444b</tree>
  <committer>
    <name>technoweenie</name>
    <email>technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78</email>
  </committer>
</commit>
