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

Ruby Articles

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

    • All Topics
    • Design
    • Development
    • Product
    • More topics
  1. Sorting elegantly in Rails with in_order_of

    Sorting columns in custom order in Rails elegantly using inorderof.

    Trésor Bireke
    April 28, 2025
    • Ruby
    • Rails
    • SQL
    • Performance
    • Code
  2. Don't Steal a Penguin -- A Guide to Rails Flashes

    If someone tries to steal a penguin, how should you warn them?

    Louis Antonopoulos
    April 25, 2025
    • Ruby
    • Rails
    • Ruby On Rails
    • Development
  3. Between immutability and memoization, you might have to choose

    It is not always possible to have frozen AND performant objects in Ruby.

    Rémy Hannequin
    April 22, 2025
    • Ruby
    • Performance
  4. Ruby Strings: DnD Alignment chart

    Some characters just want to watch the world burn.

    Joël Quenneville
    April 11, 2025
    • Ruby
  5. Avoiding N+1 queries the Railsy way with strict loading

    Need to catch N+1 queries without adding any extra dependencies to your project? Strict Loading makes it effortless, but your configurations need to be set up correctly to avoid unexpected behaviors.

    Trésor Bireke
    April 7, 2025
    • Ruby
    • Rails
    • Refactoring
    • Development
  6. Rails 8’s Propshaft, A Sprockets’ quiet replacement?

    With the release of Rails 8, asset management in Rails got faster and simpler with the new asset pipeline, Propshaft, which is not only simpler but also more aligned with modern Rails development needs compared to its predecessor, Sprockets.

    Trésor Bireke
    April 4, 2025
    • Ruby
    • Ruby On Rails
    • Development
    • Optimization
  7. Ruby on Rails agency in London

    Where can you find top Ruby on Rails developers in London? Hint: it isn’t a new AI tool. Real life thoughtbot developers have been helping clients in London for decades.

    Valeria Graffeo
    March 28, 2025
    • Ruby
    • Rails
    • London
    • Agency
    • Developers
    • Ruby On Rails
    • Uk
  8. Using the Presenter Pattern in Ruby on Rails

    The presenter pattern is a handy design approach that sits between your views and models, helping you keep your code organized by handling view-specific logic in a clean and maintainable way. Let’s explore how to use it you your rails app.

    Trésor Bireke
    March 25, 2025
    • Ruby
    • Rails
    • Design Pattern
  9. 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
  10. 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
  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
1 2 3 4 5 … 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