Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally sign or encrypt cookie #140

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Support Rails 6.1
Rob Chekaluk committed Sep 18, 2022
commit 55058db43bdd797af30a5d96575387e7f269537c
4 changes: 2 additions & 2 deletions test/destroy_session_test.rb
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ def test_destroy_without_renew
s['set_something_so_it_loads'] = true

session_model = req.env[record_key]
session_model.update_attributes(:data => {'rails' => 'ftw'})
session_model.update(:data => {'rails' => 'ftw'})

s.destroy

@@ -38,7 +38,7 @@ def test_destroy_with_renew
s['set_something_so_it_loads'] = true

session_model = req.env[record_key]
session_model.update_attributes(:data => {'rails' => 'ftw'})
session_model.update(:data => {'rails' => 'ftw'})

s.destroy