Thanks for the quick response José. I tried your recommendation but I
think I must be calling it after the user is already signed in so
nothing is happening and remember_created_at is nil after using the
auth_token to sign_in.
class NewslettersController < ApplicationController
before_filter :authenticate_user!
before_filter :sign_in_remember
def sign_in_remember
current_user.remember_me = true
sign_in current_user
end
end
I still need to call authenticate_user! first though so that
current_user exists, correct?
Sorry if this is a silly question. This is my first time using
Devise. Thanks so much for helping!