@cjavilla.bsky.social
Ruby Developer
First step when opening a new gmail account:
14.11.2024 14:17 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0"vim.normalModeKeyBindings": [ { "before": ["<leader>", "a"], "commands": [ { "command": "workbench.action.terminal.sendSequence", "args": { "text": "\u000Dclear\u000Dbin/rails test \"${file}\"\u000D" } } ] }, { "before": ["<leader>", "h"], "commands": [ { "command": "workbench.action.terminal.sendSequence", "args": { "text": "\u000Dclear\u000Dbin/rails test \"${file}:${lineNumber}\"\u000D" } } ] },
vim mode keybindings for VS Code (Cursor) for running rails tests with "leader-a" (all) or "leader-h" (nearest)
One thing that it doesn't do well is if I have rails console open in the terminal, I want it to find the first or create a new terminal profile with zsh.
Any ideas?
The @shortruby.com - edition 112 is out
Read it full here newsletter.shortruby.com/p/edition-112
ah nice. I'll try that, I usually lean hard on the background job retries for this from Sidekiq
25.10.2024 15:56 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0def assert_flashed(message) retry_count = 0 max_retries = 3 retry_delay = 0.5 begin assert_selector "#toast", wait: 5 assert_text message rescue Minitest::Assertion => e if (retry_count += 1) <= max_retries sleep retry_delay retry else raise e end end end
I forgot you could use `retry` inside a `rescue` block like this!
25.10.2024 12:52 โ ๐ 10 ๐ 1 ๐ฌ 1 ๐ 0Checkout @joshuawood.net starter packs. This is the founder one and thereโs one for rails, too!
go.bsky.app/EGczjGA
Has anyone had success setting up PaperTrail as a log drain destination for Vercel?
Seems like Vercel requires verifying the endpoint, but I don't see a way to verify ownership from the paper trail side.
Any good podcasts for staying up to date with the latest in the Next.js ecosystem? Specifically the T3 stack, Vercel, drizzle, zod, typescript, PlanetScale news.
28.05.2023 12:39 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0