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. In relentless pursuit of some parts of REST

    If we want clients to create small controllers and use resources in their routes, it’s a good idea to know why. This is a refresher of Derek Prior’s advice from Railsconf 2017.

    Fritz Meissner
    March 20, 2023
    • REST
    • Routes
    • Controllers
    • Rails
    • Web
  2. How to stub Feature Flags with RSpec

    Are your feature flags states leaking between your test cases? Stub them all to make your test suite more reliable. Here’s how.

    Stefanni Brasil and Elias Rodrigues
    February 3, 2023
    • Testing
    • RSpec
    • Rails
    • Web
  3. Building Custom RSpec Matchers with Regular Objects

    RSpec custom matchers can be written using plain old objects.

    Joël Quenneville
    February 1, 2023
    • Testing
    • Ruby
    • Rails
  4. This week in #dev (Dec 30, 2022)

    Highlights of what happened in our #dev channel on Slack this week.

    thoughtbot
    January 10, 2023
    • This Week In Dev
    • Rails
    • Ruby
    • HTML
    • Debugging
  5. This week in #dev (Dec 16, 2022)

    Highlights of what happened in our #dev channel on Slack this week.

    thoughtbot
    December 27, 2022
    • This Week In Dev
    • Rails
    • Ruby
    • JavaScript
    • TIL
  6. How to validate the presence of a boolean field in a Rails model

    A subtle bug happens when validating the presence of boolean fields in Rails. Here’s how to find it before it hits production.

    Stefanni Brasil
    December 21, 2022
    • Testing
    • Ruby
    • Rails
  7. How to Fix Rails 6.1 'Initialization autoloaded the constants' Warning Messages

    Got autoloading during initialization warning messages in your Rails 6.1 app? It’s time to_prepare for the next version.

    Stefanni Brasil
    December 15, 2022
    • Rails Upgrade
    • Rails
    • Ruby
    • Web
  8. This week in #dev (Pilot)

    Highlights of what happened in our #dev channel on Slack this week.

    thoughtbot
    December 13, 2022
    • This Week In Dev
    • Rails
    • Ruby
    • JavaScript
    • TIL
    • Tip
  9. Time Zones and Rocket Ships

    Rocket launches show us that we can know that two future events will be simultaneous, or what the local time will be, but not both.

    Joël Quenneville
    December 6, 2022
    • Web
    • Rails
    • Ruby
  10. Your flaky tests might be time dependent

    Time dependent tests are difficult to diagnose, and the symptoms don’t present themselves until it’s too late. This article will help you determine if your test suite is time dependent.

    Steve Polito
    December 5, 2022
    • Testing
    • Rails
    • 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 … 5 6 7 8 9 10 11 12 13 … 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