<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,7 @@
 == 2.1.2
 
 * Return the newly create object for the class level create method, instead of a boolean
+* Add a model_name class method for Authlogic::Session for rails 3 compatibility. Will be using ActiveModel eventually, but this should be a quick fix.
 
 == 2.1.1 released 2009-7-04
 </diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -33,10 +33,15 @@ module Authlogic
           [self]
         end
         
-        # For Rails &gt;2.3, fix mispelling
+        # For rails &gt;2.3, fix mispelling
         def self_and_descendants_from_active_record
           [self]
         end
+        
+        # For rails &gt;3.0
+        def self.model_name
+          ActiveModel::Name.new(self.to_s)
+        end
       end
       
       module InstanceMethods</diff>
      <filename>lib/authlogic/session/active_record_trickery.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dec9ee363b32e2bee7fe28b40264d4834f796053</id>
    </parent>
  </parents>
  <author>
    <name>binarylogic</name>
    <email>bjohnson@binarylogic.com</email>
  </author>
  <url>http://github.com/binarylogic/authlogic/commit/b0d65dc2d532e544abe4da7ec1f3522d3af2d39d</url>
  <id>b0d65dc2d532e544abe4da7ec1f3522d3af2d39d</id>
  <committed-date>2009-07-12T18:26:27-07:00</committed-date>
  <authored-date>2009-07-12T18:26:27-07:00</authored-date>
  <message>* Add a model_name class method for Authlogic::Session for rails 3 compatibility. Will be using ActiveModel eventually, but this should be a quick fix.</message>
  <tree>a6e06b778aa907455d294e4a40960f991308b8df</tree>
  <committer>
    <name>binarylogic</name>
    <email>bjohnson@binarylogic.com</email>
  </committer>
</commit>
