basecamp / basecamp/console1984

`rails console --sandbox` allows for untracked read-only access to the database, including decryption of values

Open
#91 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
844
Forks
44
PR merge metrics
No merged PRs in 30d

Description

As the name suggests, storing console session data in the primary database results in the session record being rolled back in a transaction when running `rails console --sandbox` once it terminates.

While I'm not sure there's an actual "fix" to this behavior (it seems to be working as intended), I'd be interested to understand if the team would find an update to the README documenting this useful. I'd be happy to add a line or two about this if so.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the README section covering `rails console --sandbox`. Confirm how the sandbox transaction behaves when the session ends, then document that database values can be read and decrypted without changes being persisted. Done means the README clearly explains this behavior and its limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.