Blog

Ruby

89 posts tagged ruby — the same founder-tested patterns, filtered.

The behavior of stringify_keys in the upcoming version of Rails has changed.

The behavior of stringify_keys in the upcoming version of Rails has changed.

A new Rails update fixes how the stringify_keys handles different types of hash keys. This change makes the code more reliable and consistent.
Placeholder Image

A Simpler Way to Set Content Types in Rails

Rails now lets you set content types with less code. This new feature makes your work easier.
Simplifying Payments with Pay gem: A Guide to Using Stripe in Rails

Simplifying Payments with Pay gem: A Guide to Using Stripe in Rails

Use the Pay gem (v11.6) with Stripe in Rails 6+ to ship subscriptions, one-time charges, and webhooks behind a single interface - no per-gateway plumbing.
Rails 8 Brings ViewObjects: Why They’re Awesome and How to Use Them

Rails 8 Brings ViewObjects: Why They’re Awesome and How to Use Them

ViewComponents put UI logic in a Ruby class instead of scattering it across views, helpers and partials. Building a product card to show how.
Ruby on Rails Case Study: How JetThoughts Improved OpenApply's Code and UX

Ruby on Rails Case Study: How JetThoughts Improved OpenApply's Code and UX

OpenApply is a smart software platform that makes admissions and enrollment easier for students worldwide.
Minitest Advantages: Simple Testing for Rails Projects

Minitest Advantages: Simple Testing for Rails Projects

Minitest and RSpec are great testing tools for Ruby on Rails, each with its style, strengths, and weaknesses.
Ruby on Rails 8: Simplifying Sharding with New Methods

Ruby on Rails 8: Simplifying Sharding with New Methods

Ruby on Rails 8 brings helpful updates for working with sharded databases.
Ruby on Rails 8: How to Batch with Custom Columns

Ruby on Rails 8: How to Batch with Custom Columns

Rails 8 lets in_batches cursor on columns other than the primary key. What that changes for multi-tenant data and large migrations.
Ruby on Rails 8: Custom Compression for Encrypted Data

Ruby on Rails 8: Custom Compression for Encrypted Data

In Ruby on Rails 8, ActiveRecord’s encryption features are more flexible than ever. You can now set a custom compression algorithm for encrypted attributes.
Rails 8: Introducing the New Default Asset Pipeline – Propshaft

Rails 8: Introducing the New Default Asset Pipeline – Propshaft

The Rails asset pipeline helps manage static assets like CSS, JavaScript, and images. It improves delivery speed by compressing and combining these files.

Reading this because something is going wrong?

A free code audit gives you a written assessment of your codebase in plain English.

Get a Free Code Audit

Rated 4.8/5 on Clutch · you keep the write-up either way