Thomas Li·1d agoRuby Timeout.timeout 指定 raise Net::ReadTimeout 時,Net::HTTP 會多 retry 一次1. 一段看起來很合理的 code,實際卻等了兩倍的時間
InRuby / Rails in PracticebyAlessio Bussolari·2d agoIdempotent Jobs in Rails: Making Retries SafeAn interrupted worker may have already changed the database before it confirms that a job is complete. When the job runs again, the…
Yashika Vijayvargiya·3d agoRate Limiting in Rails 8.1: Protect Your APIs Without Rack::AttackHave you ever wondered what happens when someone sends hundreds of requests to your login endpoint within a few seconds?
Anthony Bahn·6d agoHow to Fix the Ruby Onigmo Regexp Bugs in Your AppsUpgrade to Ruby 4.0.9, 3.4.12 or 3.3.13 and find the code that compiles untrusted regex patterns.A response icon1A response icon1
Cris Nahine·6d agoYour coding agent is guessing your Rails app. Here’s how I made it ask instead.35 read-only MCP tools, read from the app itself. Two lines to install. Works when the app can’t boot.A response icon1A response icon1
Siva Gollapalli·Oct 29Venturing Beyond Rails: Can Rage Supercharge Ruby Web APIs?I have spent the last fifteen years living and breathing Ruby on Rails. My journey began in the era of Rails 2.3, wrestling with early…A response icon1A response icon1
Tristan Kruse·Oct 29Ruby Architecture Testing Compared: Why I’d Choose ArchUnitRubyArchUnitRuby, Packwerk, ArchSpec, and Rubyzen compared on dependency coverage, everyday testing workflow, and runtime.A response icon2A response icon2
InRuby / Rails in PracticebyAlessio Bussolari·Oct 28Rails Request Tests: Prove What the Client Actually ReceivesThis article was drafted with AI assistance and checked against the linked sources.A response icon1A response icon1
Suleyman Musayev·Oct 28Rendering User-Supplied SVG Without Getting BurnedAn SVG is not an image. It is a program the browser will run. If you let users upload avatars, logos, or icons, you are letting them upload…
InCheerz EngineeringbyClem·Oct 28Convertir du ZPL transporteur sans casser les étiquettes ZebraChez Cheerz, chaque commande finit par une étiquette de transport. Un code-barres, une adresse, un numéro de suivi. Rien de spectaculaire…