app/helpers/sessions_helper.rb
# log in the given user
# since this uses session method, cookies are encrypted by default
log in the given user
since this uses session method, cookies are encrypted by default
log in the given user since this uses session method cookies are encrypted by default
def forget(user)
        user.forget
        cookies.delete(:user_id)
        cookies.delete(:remember_token)
    end
def forget ( user ) user . forget cookies . delete ( :user_id ) cookies . delete ( :remember_token ) end
log in the given user
since this uses session method, cookies are encrypted by default
log in the given user since this uses session method cookies are encrypted by default
user
<not_specific>