<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -41,12 +41,12 @@ module FatJam
       end
       
       # Return the revision prior to this one.
-      def previous
+      def previous_revision
         self.class.find(:first, :conditions =&gt; {:revisable_original_id =&gt; revisable_original_id, :revisable_number =&gt; revisable_number - 1})
       end
       
       # Return the revision after this one.
-      def next
+      def next_revision
         self.class.find(:first, :conditions =&gt; {:revisable_original_id =&gt; revisable_original_id, :revisable_number =&gt; revisable_number + 1})
       end
       </diff>
      <filename>lib/acts_as_revisable/acts/revision.rb</filename>
    </modified>
    <modified>
      <diff>@@ -24,6 +24,12 @@ module FatJam
         def clone_belongs_to_association(association, to)
           to.send(association.macro, association.name, association.options.clone)
         end
+        
+        def clone_has_many_association(association, to)
+          options = association.options.clone
+          options[:association_foreign_key] ||= &quot;revisable_original_id&quot;
+          to.send(association.macro, association.name, options)
+        end
       end
     end
   end</diff>
      <filename>lib/acts_as_revisable/clone_associations.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,10 +13,10 @@ describe FatJam::ActsAsRevisable do
   end
   
   it &quot;should have a pretty named association&quot; do
-    lambda { @project.project_revisions }.should
+    lambda { @project.sessions }.should_not raise_error
   end
   
   it &quot;should return all the revisions&quot; do
     @project.revisions.size.should == 3
-  end    
+  end
 end
\ No newline at end of file</diff>
      <filename>spec/associations_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,12 +11,24 @@ describe FatJam::ActsAsRevisable do
   
   describe &quot;without revisions&quot; do
     it &quot;should have a revision_number of zero&quot; do
-      @project.revision_number.should == 0
+      @project.revision_number.should be_zero
     end
 
-    it &quot;should have no revisions&quot; do
+    it &quot;should be the current revision&quot; do
+      @project.revisable_is_current.should be_true
+    end
+    
+    it &quot;should respond to current_revision? positively&quot; do
+      @project.current_revision?.should be_true
+    end
+    
+    it &quot;should not have any revisions in the generic association&quot; do
       @project.revisions.should be_empty
     end
+    
+    it &quot;should not have any revisions in the pretty named association&quot; do
+      @project.sessions.should be_empty
+    end
   end
   
   describe &quot;with revisions&quot; do
@@ -28,10 +40,14 @@ describe FatJam::ActsAsRevisable do
       @project.revision_number.should == 1
     end
     
-    it &quot;should have a single revision&quot; do
+    it &quot;should have a single revision in the generic association&quot; do
       @project.revisions.size.should == 1
     end
     
+    it &quot;should have a single revision in the pretty named association&quot; do
+      @project.sessions.size.should == 1
+    end
+    
     it &quot;should return an instance of the revision class&quot; do
       @project.revisions.first.should be_an_instance_of(Session)
     end</diff>
      <filename>spec/general_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>91847b6c30a55db43bfcdebddc75fdd89f2a9e03</id>
    </parent>
  </parents>
  <author>
    <name>Rich Cavanaugh</name>
    <email>cavanaugh@fatjam.com</email>
  </author>
  <url>http://github.com/fatjam/acts_as_revisable/commit/4c039f4a9fd68f24614117e0bfcedcf368b2ec50</url>
  <id>4c039f4a9fd68f24614117e0bfcedcf368b2ec50</id>
  <committed-date>2008-06-10T10:16:33-07:00</committed-date>
  <authored-date>2008-06-10T10:16:33-07:00</authored-date>
  <message>a few tweaks</message>
  <tree>606417aeb7815ad211ea90e473949830743168d4</tree>
  <committer>
    <name>Rich Cavanaugh</name>
    <email>cavanaugh@fatjam.com</email>
  </committer>
</commit>
