lib/authenticated_system.rb
# Accesses the current user from the session. 
# Future calls avoid the database because nil is not equal to false.
#
# Log in if an existing session is created, or if a mapstory cookie
# is set.
#
Accesses the current user from the session.
Future calls avoid the database because nil is not equal to false.

Log in if an existing session is created, or if a mapstory cookie
is set.
Accesses the current user from the session . Future calls avoid the database because nil is not equal to false . Log in if an existing session is created or if a mapstory cookie is set .
def current_user
      @current_user ||= (login_from_session || login_from_mapstory || :false )
    end
def current_user @current_user ||= ( login_from_session || login_from_mapstory || :false ) end
Accesses the current user from the session.
Accesses the current user from the session .
#  logger.info @current_user.inspect #  @current_user