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. Let Rails Help You

    Rails gives you the tools to build custom features that still feel native.

    Matheus Richard
    May 27, 2025
    • Rails
    • Ruby
  2. thoughtbot at Helvetic Ruby 2025

    We’re speaking at Helvetic Ruby on May 23rd, let’s meet there!

    Rémy Hannequin
    May 21, 2025
    • Events
    • Ruby
    • News
  3. How to get composite keys to play with Rails view helpers

    The to_key method from ActiveModel allows custom objects with composite primary keys to integrate natively into Rails helpers.

    Joël Quenneville
    May 19, 2025
    • Ruby
    • Ruby On Rails
    • Development
  4. NWRUG's (Manchester, UK) May 2025 Meeting — Rails AntiPatterns Revisited

    Rediscover Rails AntiPatterns with Chad Pytel at NWRUG this week.

    Rob Whittaker
    May 12, 2025
    • Rails
    • Refactor
    • Ruby
    • Community
    • Events
  5. Top 5 Ruby on Rails Consultancies in 2025

    Choosing the right Rails consultancy isn’t just a technical decision, it’s a business imperative. The right partner accelerates growth, while the wrong choice leads to costly rewrites and missed opportunities.

    Ran Craycraft
    May 12, 2025
    • Ruby On Rails
    • Ruby
    • Consulting
    • Developers
    • Development
  6. 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
  7. 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
  8. 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
  9. Ruby Strings: DnD Alignment chart

    Some characters just want to watch the world burn.

    Joël Quenneville
    April 11, 2025
    • Ruby
  10. 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
  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