app/helpers/barkest_core/sessions_helper.rb
##
# Stores the user id to the permanent cookies to keep the user logged in.
Stores the user id to the permanent cookies to keep the user logged in.
Stores the user id to the permanent cookies to keep the user logged in .
def remember(user)
      user.remember
      cookies.permanent.signed[:user_id] = user.id
      cookies.permanent[:remember_token] = user.remember_token
    end
def remember ( user ) user . remember cookies . permanent . signed [ :user_id ] = user . id cookies . permanent [ :remember_token ] = user . remember_token end
Stores the user id to the permanent cookies to keep the user logged in.
Stores the user id to the permanent cookies to keep the user logged in .
user
<not_specific>