app/helpers/isale/users_helper.rb
def remember(user)
      user.remember
      cookies.permanent.signed[:user_id] = user.id
      cookies.permanent[:remember_token] = user.remember_token
    end
# Remembers a user in a persistent session.
Remembers a user in a persistent session.
Remembers a user in a persistent session .
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
Remembers a user in a persistent session.
Remembers a user in a persistent session .
user