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. Models That Match Reality

    When modeling a domain, it’s important to have our model actually match reality.

    Joël Quenneville
    October 12, 2021
    • Design
    • Web
    • Elm
    • Ruby
    • Modeling
  2. Fewer Operations on Custom Types is Valuable

    Less is more. Wrapping primitives in custom types restricts your available operations and that’s a good thing.

    Joël Quenneville
    October 11, 2021
    • Elm
    • Ruby
    • Web
  3. Rubocop: Custom Cops for Custom Needs

    Parsers, grepping, ASCII art, and how that helps you automating boring stuff.

    Matheus Richard
    October 5, 2021
    • Rubocop
    • Linters
    • Rails
    • Ruby
  4. Testing Your Edge Cases

    A little combination math goes a long way to catching edge cases.

    Joël Quenneville
    September 8, 2021
    • Testing
    • Ruby
    • Development
  5. Back to Basics: Boolean Expressions

    Write Boolean expressions using operators instead of if/else for a more readable outcome.

    Joël Quenneville
    June 28, 2021
    • Back To Basics
    • Ruby
    • Development
    • Web
  6. Simplifying Tests by Extracting Side-Effects

    Test-driven development, object-oriented design, and functional programming converge on some similar ideas.

    Joël Quenneville
    February 18, 2021
    • Web
    • Ruby
    • TDD
    • Testing
    • Functional Programming
    • Good Code
  7. Testing Objects with a Functional Mindset

    Some ideas from functional programming can help us improve the unit tests for our object-oriented code.

    Joël Quenneville
    January 19, 2021
    • Web
    • Functional Programming
    • Testing
    • Good Code
    • Ruby
  8. Type systems and checking in Elixir and Ruby

    Adding type checking to dynamically typed languages is possible, and awesome!

    Hawley Brett
    January 18, 2021
    • Elixir
    • Ruby
    • Types
    • Good Code
  9. The Self-Contained Test

    Learn how to write tests so they’re easy to read and your colleagues will thank you.

    Edward Loveall
    May 18, 2020
    • Testing
    • Good Code
    • Ruby
  10. New online workshop: Protect your Rails app against security threats during COVID-19

    Join us as we discuss the rise of security threats during COVID-19, and how upgrading your Rails application can protect your business and users.

    Daniel Colson
    May 7, 2020
    • Security
    • Rails Upgrade
    • Remote
    • Workshops
    • Code Audit
    • Web
    • Ruby
    • Rails
  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 … 9 10 11 12 13 14 15 16 17 … 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