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