yes@petr.codes
Home Blog Now Resume
Home Blog Now Resume yes@petr.codes Toggle theme

Blog

Thoughts on Ruby, Rails, and software engineering.

Rails

Versioning API requests

Learn how to handle API request versioning in Rails without duplicating controllers, using a schema-based approach th...

Read more
Rails

Flexible API Versioning with Rails

A well-defined API versioning strategy is crucial for any API expected to evolve. Let's explore the most common API v...

Read more
Ruby

Gem Credentials Management with Gemstash

How can we efficiently manage gem credentials across the team? When your project grows, you may reach out to commerci...

Read more
Rails

Business logic in Rails with operators

Having a thousand lines long controllers and/or models is not the right way to have sustainable applications or devel...

Read more
Rails

Fun with Rails Enums and PORO

I really like enums. They can be really powerful if they are used wisely. Let's see what we can do with them in a mul...

Read more
Rails

Multi-Factor Authentication for Rails with WebAuthn and Devise

There are several ways to add multi-factor authentication (MFA) for safer user authentication. Let's look at how to a...

Read more

Showing 1 to 6 of 11 posts

Next

© 2026 Petr Hlavicka. All rights reserved.

Built with Bridgetown, Web Awesome & Font Awesome