app/helpers/sessions_helper.rb
# Removes the given user from browser's cookies.
Removes the given user from browser's cookies.
Removes the given user from browser ' s cookies .
def forget(user)
    user.forget
    cookies.delete :id
    cookies.delete :remember_token
  end
def forget ( user ) user . forget cookies . delete :id cookies . delete :remember_token end
Removes the given user from browser's cookies.
Removes the given user from browser ' s cookies .
user