Please confirm you are human

This browser or connection looks automated. Press and continuously hold the control for 3 seconds to enable Google-hosted web results and, when separately allowed, AI-assisted answers.

A successful check enables 100 search requests. Interactive access does not authorize scraping, systematic collection, or reuse of search output.

Hold with a pointer, or hold Space or Enter.

News

DEV Community
dev.to > syrian963 > count-on-a-prefetched-relation-is-free-filter-costs-a-query-per-row-4acm

count() on a prefetched relation is free. filter() costs a query per row.

3+ day, 47+ min ago   (599+ words) Twelve queries where you expected two, in a loop that looks like somebody already optimised it. Here is a page that is slower than the version with no optimisation in it at all: Delete the prefetch_related and it is eleven. The…...

DEV Community
dev.to > constdrop > stop-writing-ruby-tests-in-js-template-literals-meet-rspec-wasm-oco

Stop Writing Ruby Tests in JS Template Literals: Meet rspec-wasm

1+ week, 1+ day ago   (210+ words) If you have built applications with ruby.wasm, you might have encountered a frustrating developer experience when writing unit tests. Testing Ruby logic compiled to WebAssembly usually meant embedding Ruby code inside JavaScript template literals and asserting the results using…...

DEV Community
dev.to > rubycoderai > rubycoderai-a-growing-resource-hub-for-ruby-developers-building-with-ai-4jho

RubyCoder.ai: A Professional Network for the Ruby Community

1+ week, 5+ day ago   (468+ words) Ruby has one of the most established developer communities in software, but the knowledge, tools and people that make up that ecosystem are often spread across dozens of different platforms. RubyCoder.ai is a professional network and resource platform built…...

SecurityWeek
securityweek.com > critical-ruby-on-rails-vulnerability-in-attackers-crosshairs

Critical Ruby on Rails Vulnerability in Attackers’ Crosshairs

1+ week, 5+ day ago   (610+ words) Named KindaRails2Shell, the arbitrary file read flaw allows attackers to extract secrets and execute arbitrary code remotely. Hackers are exploiting a critical-severity Ruby on Rails vulnerability that leads to remote code execution (RCE), VulnCheck warns. Tracked as CVE-2026-66066 (CVSS score of…...

DEV Community
dev.to > muhammetsafak > dont-pick-a-partial-index-for-speed-what-i-measured-on-a-10m-row-postgres-queue-table-1mb9

Don't pick a partial index for speed: what I measured on a 10M-row Postgres queue table

2+ week, 6+ day ago   (1260+ words) Early in August someone asked me a question: on a queue table where a few thousand pending rows sit among millions of completed ones, should they use a partial index or a plain one? I said yes, this is the…...

DEV Community
dev.to > ashitoshh01 > i-finally-understood-why-database-indexes-make-queries-faster-226k

I Finally Understood Why Database Indexes Make Queries Faster

3+ week, 4+ hour ago   (199+ words) I used to think adding an index to a database was basically a magic “make this query faster” button. Then I understood what was actually happening underneath. Imagine a users table with 1 million records. Without an index, the database may…...

DEV Community
dev.to > burdettelamar > ruby-pathname-moved-to-core-documentation-upgraded-3d00

Ruby Pathname Moved to Core, Documentation Upgraded

3+ week, 14+ hour ago   (153+ words) In release 4.0, the Ruby Powers-That-Be have brought class Pathname into the Ruby core. This is a Very Good Thing. Through its many instance methods, a Pathname object provides a consistent and convenient interface to numerous methods in other classes and…...

Medium
medium.com > lets-code-future > postgresql-just-paged-you-everyones-first-move-is-a-waste-of-five-good-minutes-caf24435f7a3

PostgreSQL Just Paged You. Everyone’s First Move Is A Waste Of Five Good Minutes.

3+ week, 15+ hour ago   (238+ words) The alert fires. PostgreSQL is struggling. Almost every engineer’s first move is the exact same move. Run a …...

Medium
medium.com > javarevisited > adding-one-line-to-our-database-took-a-30-second-query-down-to-12-milliseconds-362d42c9aed9

Adding One Line to Our Database Took a 30-Second Query Down to 12 Milliseconds.

3+ week, 4+ day ago   (936+ words) Here Is the Missing Database Index That Almost Everyone Forgets Until Production Slows to a Crawl. The query was fine …...

DEV Community
dev.to > gjhewitt > i-could-hack-my-own-rails-app-with-one-hidden-input-3ca1

I Could Hack My Own Rails App With One Hidden Input

3+ week, 4+ day ago   (688+ words) Then I read two tutorials about locking down a different app, and instead of just following along, I ran the same audit on my own code. To my surprise, I found four holes: RepBoard has freelancers, who get a public…...