Retries Made Better with Faraday Loop— Ever need a simple way to retry a block of code in Ruby? Maybe with a maximum number of retries or exponential backoff? The popular Faraday HTTP client library has a great built-in solution that it uses for retrying HTTP requests which has been extracted into Faraday Loop for us to use elsewhere. Nate Kontny (Census Engineering) / LostIsland |
![]() Blue/Green Deployments for Rails on Any Cloud— Deploy Rails applications hassle-free on any cloud and in any region with full database support, custom traffic rules, zero-downtime deployments, blue/green and canary releases, WAF, and more. Try it today for free, and get $100 in credits with the code: RubyWeekly100 Cloud 66 sponsor |
📕 Tutorials, Articles, and Videos |
💡 There's also a new VS Code release just out with improvements to the terminal, new default dark and light color themes, support for profile templates, a built-in color picker, and numerous other things. |
Frictionless Developer Environments with Nix— How do you know if someone uses Nix? Don’t worry – they’ll tell you! 😆 Seriously, though, there are enough benefits to be had that it’s worth understanding it as an option, even if you don’t use it. Andrew Coleman |
Creating Custom Rails Generators— Rails generators can help remove friction from the process of spinning up new ideas, but you don’t have to limit yourself to the included ones.. Garrett Dimon |
Rails' 'Dangerous Query Method' Deprecation— If you’ve updated a Rails app you might have seen a scary looking ‘Dangerous query method’ deprecation. Luckily, it’s easy to resolve and will make your app safer too. Gelsey Torres (FastRuby) |
rdom: An Experiment in Server-Side Reactive DOM Updates— Just a proof of concept for now, with the author admitting “there’s a memory leak in s.rb, which I’m not really sure how to solve.” Nonetheless, experiments like this have a way of turning into tomorrow’s reality.. Andreas Alin |
Senior Backend Engineer (Remote - EMEA)— Booqable prides itself on being a global company with team members working together from across the world. We are remote-first, so you can join us from wherever you are.
Booqable |
Find Ruby Jobs with Hired— Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired |
|
💡 An improvement to last week's tip? |
Last week we included a handy tip for using Caddy and mkcert to locally use 'fake' domains of your choice for development purposes. The tip works well, but reader Gamaliel Toro wrote in to point out that Caddy now has this feature built in and you might find it an easier approach. He's written up the technique in this gist– I struggled to make it work on my first attempt, but this is a last minute addition to the newsletter and the feature does indeed appear to be offered by Caddy. If all else fails, though, the tip in last week's issue still works 😉 |
|