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. Developing a voice AI app in Rails for drive-through ordering

    In this post we will explore the code for an AI assistant in our application.

    Jose Blanco
    May 6, 2025
    • Artificial Intelligence
    • Rails
    • Openai
    • Action Cable
    • Websocket
    • Realtime
    • AI
  2. 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
  3. 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
  4. AI in Focus: Connecting DeepSeek to Rails

    Experimenting with a locally running version of the DeepSeek R1 LLM model in a real Rails app using Ollama and ruby-openai.

    Chad Pytel and Kate Young
    April 24, 2025
    • AI
    • Ethics
    • Product
    • Language Models
    • Ollama
    • Rails
    • Llm
    • Large Language Models
  5. Faster feedback loops with Rails Runner

    Don’t waste one more second coding in the Rails console.

    Steve Polito
    April 17, 2025
    • Rails
    • Web
  6. How to respect OpenAI's rate limits in Rails

    As it turns out, OpenAI’s rate limits are a little more complicated than other APIs.

    Steve Polito
    April 10, 2025
    • Rails
    • Web
    • Artificial Intelligence
  7. 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
  8. How fast can an ActiveRecord SQL query run?

    You have a SQL query that seems like it needs to be faster. What’s the upper-bound on improving that query’s performance?

    Fritz Meissner
    March 31, 2025
    • Rails
    • Active Record
    • Performance
  9. 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
  10. 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
  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