<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -48,7 +48,7 @@ module Juixe
         # Helper method to sort comments by date
         def comments_ordered_by_submitted
           Comment.find(:all,
-            :conditions =&gt; [&quot;commentable_id = ? and commentable_type = ?&quot;, id, self.type.name],
+            :conditions =&gt; [&quot;commentable_id = ? and commentable_type = ?&quot;, id, self.class.name],
             :order =&gt; &quot;created_at DESC&quot;
           )
         end</diff>
      <filename>lib/commentable_methods.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3664cf4ad7a92b6da1e0dae3f07a95b97f6477b3</id>
    </parent>
  </parents>
  <author>
    <name>Ole Riesenberg</name>
    <email>or@oleriesenberg.de</email>
  </author>
  <url>http://github.com/jackdempsey/acts_as_commentable/commit/f8dd7598ba1db1fcfba8812c944c5ef4b8ae509f</url>
  <id>f8dd7598ba1db1fcfba8812c944c5ef4b8ae509f</id>
  <committed-date>2009-08-03T07:50:13-07:00</committed-date>
  <authored-date>2009-07-25T16:23:42-07:00</authored-date>
  <message>Ruby 1.9 compat

\#type got removed, use #class</message>
  <tree>0bdb52760f1996b4e217415d60c8bd3408c84407</tree>
  <committer>
    <name>Jack Dempsey</name>
    <email>jack.dempsey@gmail.com</email>
  </committer>
</commit>
