Skip to main content
thoughtbot thoughtbot
  • We're live 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
We're live 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
  • Healthcare
  • Finance
  • Insurance
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
  • 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. A JavaScript developer's guide to Rails: Authorization with Pundit

    Learn how Pundit authorization actually works in Rails, from request flow to policy scopes, with practical examples for JavaScript developers.

    Will Larry
    February 18, 2026
    • Rails
    • Authorization
    • Pundit
    • Ruby
    • Policies
  2. props_template 1.0: A high performance, more opinionated jbuilder replacement

    props_template 1.0: A high performance, more opinionated jbuilder replacement

    Johny Ho
    February 13, 2026
    • Rails
    • Performance
    • Development
    • Ruby
  3. A JavaScript developer's guide to Rails: What is Polymorphic Rails Model?

    Learn how Rails polymorphic associations work under the hood, from database schema to model setup, with clear examples for JavaScript developers new to ActiveRecord.

    Will Larry
    February 11, 2026
    • Rails
    • Polymorphism
    • Active Record
  4. Claude Code: Production ready code in a two-week sprint

    AI-generated code doesn’t have to be throwaway code. Here’s how we used Claude Code to build a fully-tested, production-quality Rails prototype in two weeks, complete with a robust test suite, clean commits, and code we were proud to have written.

    Chad Pytel, Louis Antonopoulos & Michelle Taute
    February 9, 2026
    • AI
    • Prototyping
    • Rails
  5. Teach your models to act, not just be

    …or end up hunting for logic in jobs and controllers.

    Matheus Richard
    February 6, 2026
    • Rails
    • Good Code
    • Refactoring
  6. A JavaScript developer's guide to Rails: ActiveRecord Fundamentals

    Learn how Rails ActiveRecord differs from JavaScript ORMs and why the database-first approach eliminates boilerplate.

    Will Larry
    February 4, 2026
    • Web
    • Best Practices
    • Ruby
    • Rails
    • JavaScript
    • Development
  7. A JavaScript developer's guide to Rails: What does Composition Over Inheritance mean?

    Rails framework code is full of inheritance magic, but your application code doesn’t have to be. Learn how composition makes dependencies explicit, testing easier, and debugging a breeze—using patterns you already know from JavaScript.

    Will Larry
    January 28, 2026
    • Web
    • Best Practices
    • Ruby
    • Rails
    • JavaScript
    • Development
  8. What Shoulda Matchers Is Actually Doing For You

    Rails model specs full of setup and error-message checks? There’s a reason so many teams replace them using shoulda-matchers. We’ll look at what those expectations are doing, how they make your tests more resilient to changes, and a lot less noisy.

    Matheus Sales
    January 23, 2026
    • RSpec
    • Rails
    • Shoulda
    • Ruby
    • Testing
  9. A JavaScript developer's guide to Rails: Where Does Everything Come From?

    Discover where Rails methods come from and solve the biggest confusion JavaScript developers face when learning Rails.

    Will Larry
    January 21, 2026
    • Web
    • Best Practices
    • Ruby
    • Rails
    • JavaScript
    • Development
    • Learning
  10. Code audits in the days of AI - A new Claude skill

    Run a code audit on your Rails app using thoughtbot’s best practices with this new Claude skill.

    Jose Blanco
    January 20, 2026
    • Artificial Intelligence
    • Rails
    • Code Audit
    • Claude
    • AI
    • Development
  11. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed 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
  • Events
  • Sponsor
  • Store
  • Mastodon
  • Bluesky
  • GitHub
  • YouTube
  • Twitch
  • Feeds
© 2026 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
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy