1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- authlogic/acts_as_authentic/base.rb.orig    2009-11-12 17:48:58.000000000 +0100
+++ authlogic/acts_as_authentic/base.rb 2009-11-12 17:51:23.000000000 +0100
@@ -6,6 +6,17 @@
         klass.class_eval do
           extend Config
         end
+        klass.send :include, Authlogic::ActsAsAuthentic::Email
+        klass.send :include, Authlogic::ActsAsAuthentic::LoggedInStatus
+        klass.send :include, Authlogic::ActsAsAuthentic::Login
+        klass.send :include, Authlogic::ActsAsAuthentic::MagicColumns
+        klass.send :include, Authlogic::ActsAsAuthentic::Password
+        klass.send :include, Authlogic::ActsAsAuthentic::PerishableToken
+        klass.send :include, Authlogic::ActsAsAuthentic::PersistenceToken
+        klass.send :include, Authlogic::ActsAsAuthentic::RestfulAuthentication
+        klass.send :include, Authlogic::ActsAsAuthentic::SessionMaintenance
+        klass.send :include, Authlogic::ActsAsAuthentic::SingleAccessToken
+        klass.send :include, Authlogic::ActsAsAuthentic::ValidationsScope
       end

       module Config
@@ -92,16 +103,16 @@
   end
 end

-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Base
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Email
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::LoggedInStatus
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Login
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::MagicColumns
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Password
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::PerishableToken
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::PersistenceToken
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::RestfulAuthentication
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::SessionMaintenance
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::SingleAccessToken
-::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::ValidationsScope
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Base
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Email
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::LoggedInStatus
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Login
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::MagicColumns
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::Password
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::PerishableToken
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::PersistenceToken
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::RestfulAuthentication
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::SessionMaintenance
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::SingleAccessToken
+#::ActiveRecord::Base.send :include, Authlogic::ActsAsAuthentic::ValidationsScope