<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -37,8 +37,9 @@ module Acl9
 
         has_and_belongs_to_many :role_objects, :class_name =&gt; role, :join_table =&gt; join_table
 
-        cattr_accessor :_auth_role_class_name
+        cattr_accessor :_auth_role_class_name, :_auth_subject_class_name
         self._auth_role_class_name = role
+        self._auth_subject_class_name = self.to_s
 
         include Acl9::ModelExtensions::Subject
       end</diff>
      <filename>lib/acl9/model_extensions.rb</filename>
    </modified>
    <modified>
      <diff>@@ -161,7 +161,7 @@ module Acl9
         if role
           self.role_objects.delete role
 
-          role.destroy if role.send(self.class.to_s.demodulize.tableize).empty?
+          role.destroy if role.send(self._auth_subject_class_name.demodulize.tableize).empty?
         end
       end
 </diff>
      <filename>lib/acl9/model_extensions/subject.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>93fb6724c987f0efa3bb41eac1db80c98de51935</id>
    </parent>
  </parents>
  <author>
    <name>Jeff Jaco</name>
    <email>jjaco@acer.(none)</email>
  </author>
  <url>http://github.com/be9/acl9/commit/184e241dd191e6b08484371ca845cc1c931d3fe0</url>
  <id>184e241dd191e6b08484371ca845cc1c931d3fe0</id>
  <committed-date>2009-09-24T23:26:21-07:00</committed-date>
  <authored-date>2009-08-18T15:52:35-07:00</authored-date>
  <message>modify subject to allow for inheritance

Signed-off-by: be9 &lt;&gt;</message>
  <tree>d84cbac305fab072de038f3f2f5a302cc62ad637</tree>
  <committer>
    <name>be9 &lt;&gt;</name>
    <email nil="true"></email>
  </committer>
</commit>
