<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -36,7 +36,7 @@ module MadeByMany
         raise &quot;The #{on} association does not have a :through association&quot; unless through_assoc
         
         on_class_name         =   assoc.class_name
-        options[:on_singular] ||= on_class_name.downcase
+        options[:on_singular] ||= on_class_name.underscore
         options[:on_class]    ||= assoc.klass
         
         options[:class] = self
@@ -359,4 +359,4 @@ module MadeByMany
     end
 
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/acts_as_recommendable.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2fea9d46109fa46d8bf082e2f67474cdd9ed2326</id>
    </parent>
  </parents>
  <author>
    <name>Mischa</name>
    <email>f.mischa@gmail.com</email>
  </author>
  <url>http://github.com/maccman/acts_as_recommendable/commit/234589ea2a09a505c9f5b8e6a98f0fa35805c1f7</url>
  <id>234589ea2a09a505c9f5b8e6a98f0fa35805c1f7</id>
  <committed-date>2009-04-17T03:53:15-07:00</committed-date>
  <authored-date>2009-04-17T03:53:15-07:00</authored-date>
  <message>Switch downcase to underscore. This prevents class names like FooBar
from being switched to foobar.

For example, if I have a class with many LolCats, if I try to call
lolcats on an instance it would give a nomethod error, since I should be
calling lol_cats.</message>
  <tree>cfb80eccf09bcff397c9938fb1d841982f5e848e</tree>
  <committer>
    <name>Mischa</name>
    <email>f.mischa@gmail.com</email>
  </committer>
</commit>
