Skip to content

fix: render public activity count on athlete page - #148

Merged
0jonjo merged 1 commit into
mainfrom
fix/athlete-activity-count
Aug 15, 2026
Merged

fix: render public activity count on athlete page#148
0jonjo merged 1 commit into
mainfrom
fix/athlete-activity-count

Conversation

@0jonjo

@0jonjo 0jonjo commented Aug 15, 2026

Copy link
Copy Markdown
Owner

The Activities stat on the public profile has been blank since the page shipped: Rails capture only returns a block's value when it is a String, and this stat_value block returned an Integer. One-line .to_s plus a regression test asserting the count renders.

capture only returns a block's value when it is a String, so the
Integer-returning stat_value block always rendered empty.
Copilot AI lite review requested due to automatic review settings August 15, 2026 10:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@0jonjo
0jonjo merged commit 0aeaf18 into main Aug 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants