Programming Tutorials

Curated development tutorials from top sources. Filter by language.

All python javascript php go ruby java rust typescript general sql css
dev.to realpython freecodecamp

How you zip larger files in ruby

Easy way that compress files in ruby is using zip lib. Zip::File.open('./compress.zip', create: true) do |zip| zip.get_output_stream("./stuff_to_

ruby dev.to Jun 22, 2026

Rails Interview #1: The N+1 Query Problem

You ship a /posts index page. It renders 50 posts, and for each one it shows the author's name with post.author.name. QA says the page is slow, and th

ruby dev.to Jun 21, 2026

Blocks, Procs, and the "&" Bridge

&blk in a parameter list turns a block into a Proc; &proc at a call turns a Proc back into a block. 1. A block is syntax, not an object

ruby dev.to Jun 20, 2026

TIL: Html + ERB = HERB ❤️

Today I was looking to improve the tooling around ERB templates in our project, get a linter at least. I started with erb_lint gem, but soon discovere

ruby dev.to Jun 19, 2026

Safer Memoization in Ruby

Memoization is one of those techniques most Ruby developers start using almost immediately. It's simple, elegant, and often provides significant perfo

ruby dev.to Jun 15, 2026

The Rails Deployment Landscape in 2026

The Rails Deployment Landscape in 2026 June 15, 2026 For years, deploying a Rails application meant choosing between managing your own servers or u

ruby dev.to Jun 15, 2026
« Prev Page 8 of 23 Next »