vendor/plugins/authlogic/lib/authlogic/session/base.rb
# Attempts to find the record by params, then session, then cookie, and finally basic http auth. See the class level find method if you are wanting to use this to persist your session.
Attempts to find the record by params, then session, then cookie, and finally basic http auth. See the class level find method if you are wanting to use this to persist your session.
Attempts to find the record by params then session then cookie and finally basic http auth . See the class level find method if you are wanting to use this to persist your session .
def find_record
        if record
          self.new_session = false
          return record
        end
        find_with.each do |find_method|
          if send("valid_#{find_method}?")
            self.new_session = false
            return record
          end
        end
        nil
      end
def find_record if record self . new_session = false return record end find_with . each do | find_method | if send ( "valid_#{find_method}?" ) self . new_session = false return record end end nil end
Attempts to find the record by params, then session, then cookie, and finally basic http auth.
Attempts to find the record by params then session then cookie and finally basic http auth .