hackclub / hackclub/hcb

Investigate using `ActiveSupport::CurrentAttributes`

Open
#8,291 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
870
Forks
138
Avg merge
1d 14h
Merged PRs (30d)
208

Description

`ActiveSupport::CurrentAttributes` is the new cool way to do request-specific attributes like our `current_user` and `current_session`

https://api.rubyonrails.org/classes/ActiveSupport/CurrentAttributes.html

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked ActiveSupport::CurrentAttributes documentation, then locate the existing implementations of current_user and current_session. The issue does not name files, tests, migration boundaries, or acceptance criteria, so completion would require defining whether and how those request-specific attributes should be migrated.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.