app/helpers/sessions_helper.rb
# aassignes the user's id to user_id symbol in sessions 
# hash for easy retrieval of user information from database using id
aassignes the user's id to user_id symbol in sessions
hash for easy retrieval of user information from database using id
aassignes the user ' s id to user_id symbol in sessions hash for easy retrieval of user information from database using id
def log_out
      forget(current_user)
      session.delete(:user_id)
      @current_user = nil
    end
def log_out forget ( current_user ) session . delete ( :user_id ) @current_user = nil end
aassignes the user's id to user_id symbol in sessions
hash for easy retrieval of user information from database using id
aassignes the user ' s id to user_id symbol in sessions hash for easy retrieval of user information from database using id
# delete current session