Method: Devise::Models::Rememberable::ClassMethods#serialize_into_cookie

Defined in:
lib/devise/models/rememberable.rb

Create the cookie key using the record id and remember_token



134
135
136
# File 'lib/devise/models/rememberable.rb', line 134

def serialize_into_cookie(record)
  [record.to_key, record.rememberable_value, Time.now.utc.to_f.to_s]
end