Skip to main content
thoughtbot thoughtbot
  • Live on Twitch!

    thoughtbot is livestreaming

    Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

  • Case Studies
  • Blog
  • Let’s Talk
Live on Twitch!

thoughtbot is livestreaming

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

Let’s get started!
View all Services
Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • Maintenance
  • Mobile
Design
  • Discovery Sprints
  • UX, UI, and Product Design
  • Design Systems
Product
  • MVP
  • Product Management
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
  • Conference Talks
The business of great software
  • Playbook
  • Purpose Built
  • Giant Robots Smashing Into Other Giant Robots Podcast
  • Design Sprint Guide
  • Live Streaming on LinkedIn
View all Resources

Rails Articles

Written by thoughtbot, your expert partner for design and development.

    • All Topics
    • Design
    • Development
    • Product
    • More topics
  1. content_for -- What is it good_for?

    The Marie Kondo for bits of HTML that spark joy but have no home.

    Louis Antonopoulos
    March 24, 2025
    • Ruby
    • Rails
    • Ruby On Rails
    • Accessibility
    • Development
  2. ActiveRecord query log tags for GraphQL

    ActiveRecord query log tags is my pick for most underrated Rails config option that isn’t enabled by default. Here’s how to extend it beyond the default options, with a specific example of GraphQL.

    Fritz Meissner
    March 18, 2025
    • Active Record
    • Rails
    • GraphQL
  3. Finding the opposite of what you have with rails invert_where

    Need to fetch the opposite data for an existing ActiveRecord query? Rails invert_where makes it effortless, but be careful with the side effects.

    Trésor Bireke
    March 14, 2025
    • Active Record
    • Ruby
    • Rails
    • Development
  4. Hotwire and That Syncing Feeling

    How to create a multi-view presentation that stays in sync.

    Louis Antonopoulos
    March 13, 2025
    • Hotwire
    • Ruby
    • Rails
    • Ruby On Rails
    • Development
  5. Seeds...of Destruction! 🌱 ➡️ 💥

    Untested seeds can grow into giant, crushing vines.

    Louis Antonopoulos
    March 5, 2025
    • Ruby
    • Rails
    • Ruby On Rails
    • Testing
    • Development
  6. Zero-downtime with Rails credentials part III

    Transitioning the codebase from using environment variables to Rails Credentials for Zero-Downtime Deploys.

    Sami Birnbaum and Valeria Graffeo
    February 25, 2025
    • Ruby
    • Rails
    • Credentials
    • Environment Variables
    • DevOps
    • SRE
    • Infrastructure
    • Zero Downtime With Rails Credentials
  7. How to customize ids in URLs in your Rails app

    Override the to_param method on your object to customize how Rails builds the id to put in the URL.

    Joël Quenneville
    February 10, 2025
    • Development
    • Web
    • Rails
    • Ruby
  8. Connecting Deepseek to Rails plus more upcoming AI livestreams

    thoughtbot continues AI in Focus weekly livestreams starting February 2025. In the first session, Chad Pytel will teach you how to connect Deepseek to your Rails app.

    Lindsey Christensen
    February 4, 2025
    • Artificial Intelligence
    • Large Language Models
    • Rails
    • News
  9. This week in #dev (Jan 24, 2025)

    Avoiding ReDoS attacks, using Active Resource in modern Rails, and how to improve flaky tests with Playwright.

    thoughtbot
    February 3, 2025
    • This Week In Dev
    • TIL
    • Security
    • Testing
    • Rails
  10. Build a (progressively enhanced) drawer component with Hotwire

    You can get 90% of the way there with server-rendered templates and View Transitions.

    Steve Polito
    January 28, 2025
    • Rails
    • Hotwire
    • Web
  11. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed icon Check out our feeds
« First ‹ Prev 1 2 3 4 5 6 … Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • Bluesky
  • GitHub
  • YouTube
  • Twitch
  • Feeds
© 2025 thoughtbot, inc.

The design of a robot and thoughtbot are registered trademarks of thoughtbot, inc.

  • US: +1 (877) 9-ROBOTS
  • UK: +44 (0)20 3807 0560
  • Beware of fraudulent thoughtbot job listings Learn more
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy