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

feat(dx): Add find helper in Rails console #2258

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Conversation

julienbourdeau
Copy link
Contributor

Description

On support, I often found myself using GlobalID::Locator.locate because this is how the job arguments are displayed in Sidekiq UI.

I'm proposing this helper that loads only in the Rails console to easily retrieve things. What else would you like to see there?

I'm thinking for UUID we could try to resolve Organization and Invoice to see if one matches

CleanShot 2024-07-08 at 10 40 08@2x

@julienbourdeau julienbourdeau self-assigned this Jul 8, 2024
@julienbourdeau julienbourdeau merged commit 54b31a0 into main Jul 8, 2024
6 checks passed
@julienbourdeau julienbourdeau deleted the feat/console-helper branch July 8, 2024 14:34
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
## Description

On support, I often found myself using `GlobalID::Locator.locate`
because this is how the job arguments are displayed in Sidekiq UI.

I'm proposing this helper that loads only in the Rails console to easily
retrieve things. What else would you like to see there?

I'm thinking for UUID we could try to resolve `Organization` and
`Invoice` to see if one matches

![CleanShot 2024-07-08 at 10 40
08@2x](https://github.com/getlago/lago-api/assets/1525636/bf55c784-7b20-4778-9248-fc0bcc27efc8)
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