Permalink
Browse files

Moved methods_configured boolean to class level

  • Loading branch information...
1 parent 284872c commit 48eea06e6d093f28ab417eb9909e5a738117e095 @binarylogic binarylogic committed Jan 18, 2009
Showing with 6 additions and 2 deletions.
  1. +3 −1 README.rdoc
  2. +3 −1 lib/authlogic/session/base.rb
View
@@ -82,8 +82,10 @@ Or how about persisting the session...
* <b>Live example of the tutorials above (with source):</b> http://authlogicexample.binarylogic.com
* <b>Tutorial: Easily migrate from restful_authentication:</b> http://www.binarylogic.com/2008/11/23/tutorial-easily-migrate-from-restful_authentication-to-authlogic
* <b>Tutorial: Upgrade passwords easily with Authlogic:</b> http://www.binarylogic.com/2008/11/23/tutorial-upgrade-passwords-easily-with-authlogic
-* <b>Google group:</b> http://groups.google.com/group/authlogic
* <b>Bugs / feature suggestions:</b> http://binarylogic.lighthouseapp.com/projects/18752-authlogic
+* <b>Google group:</b> http://groups.google.com/group/authlogic
+
+If you find a bug or a problem please post it on lighthouse. If you need help with something or it is specific to your app, please use google groups. I check both regularly and get emails when anything happens, so that is the best place to get help.
== Install and use
@@ -7,6 +7,8 @@ class Base
include Config
class << self
+ attr_accessor :methods_configured
+
# Returns true if a controller has been set and can be used properly. This MUST be set before anything can be done. Similar to how ActiveRecord won't allow you to do anything
# without establishing a DB connection. In your framework environment this is done for you, but if you are using Authlogic outside of your framework, you need to assign a controller
# object to Authlogic via Authlogic::Session::Base.controller = obj. See the controller= method for more information.
@@ -86,7 +88,7 @@ def klass_name
end
end
- attr_accessor :new_session, :methods_configured
+ attr_accessor :new_session
attr_reader :record, :unauthorized_record
attr_writer :authenticating_with, :id, :persisting

0 comments on commit 48eea06

Please sign in to comment.