docs: Posthog rails documentation#14837
Merged
rafaeelaudibert merged 8 commits intomasterfrom Feb 13, 2026
Merged
Conversation
|
Cursor Agent can help with this pull request. Just |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
gewenyu99
approved these changes
Feb 9, 2026
Contributor
gewenyu99
left a comment
There was a problem hiding this comment.
solid. I honestly wish more of our server SDKs were like this rails one
|
|
||
| #### Associating jobs with users | ||
|
|
||
| By default, PostHog extracts a `distinct_id` from job arguments by looking for a `user_id` key: |
Contributor
There was a problem hiding this comment.
I really wish we'd have like, configurable ways to do this for all backend SDKs so Identify would work super easily/reliably
Member
Author
There was a problem hiding this comment.
Yeah, it's the goal! It's super easy on Rails because Rails is crazy good, but we'll get there someday!
b4635e2 to
be1fad1
Compare
- Create comprehensive Rails library documentation at /docs/libraries/rails.mdx - Create Rails error tracking installation guide at /docs/error-tracking/installation/rails.mdx Co-authored-by: Rafael Audibert <rafaeelaudibert@users.noreply.github.com>
Co-authored-by: Rafael Audibert <rafaeelaudibert@users.noreply.github.com>
Co-authored-by: Rafael Audibert <rafaeelaudibert@users.noreply.github.com>
7dac53b to
8f70452
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Changes
posthog-railslibrary, including:/docs/error-tracking/installation/rails.mdx)./docs/libraries/rails.mdx).posthog-railslibrary and its automatic exception capture capabilities.Checklist
vercel.jsonSlack Thread