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. How to Share a Session Between Sinatra and Rails

    Mount a Sinatra app via Rails routes or use Rack::Builder if you need a custom middleware stack for your Sinatra app.

    Joël Quenneville
    May 30, 2014
    • Web
    • Rails
    • Sinatra
  2. Workflows for Writing Migrations With Rollbacks in Mind

    Sleep better at night knowing your migrations are reversible.

    Simon Taranto
    May 29, 2014
    • Web
    • Rails
  3. SSL for Rails with Heroku and DNSimple

    Buy, prepare, and deploy an SSL certificate from DNSimple for your Heroku app.

    Dan Croak
    May 21, 2014
    • Web
    • DNS
    • Rails
  4. Document Explicit Dependencies Through Tests

    Split your spec_helper.rb file into a minimal spec_helper.rb file and a rails_helper.rb file to load only the necessary dependencies in a spec. This is now the default in Rails.

    Greg Lazarev
    May 6, 2014
    • Web
    • Rails
    • Testing
  5. Refactoring Ruby Iteration Patterns to the Database

    Calculations across objects are ripe for using a map and an inject but frequently, with ActiveRecord, the solution is more elegant and faster if we can have SQL do the work instead.

    Simon Taranto
    April 15, 2014
    • Web
    • Rails
    • SQL
  6. Extract Mostly-Constant Data from the Database

    How moving some data out of the database and into your codebase as well-named constants can decouple your code and improve performance.

    Tute Costa
    April 11, 2014
    • Web
    • Rails
    • SQL
  7. Back to Basics: Writing Unit Tests First

    Step-by-step instructions for learning Test-Driven Development (TDD) in Ruby. There’s nothing to fear! It’s fun.

    Britt Ballard
    April 7, 2014
    • Web
    • Back To Basics
    • Ruby
    • Rails
    • Testing
  8. What's New in Edge Rails: Active Record enums

    Try out enums, a new data structure macro in Rails.

    Prem Sichanugrist
    April 1, 2014
    • Web
    • Rails
  9. Streaming downloads proxy service with Node.js

    Use microservices to compose and analyse light-weight declarative data pipelines.

    Ismael Celis
    March 31, 2014
    • JavaScript
    • Rails
    • New Bamboo
    • Web
  10. Form Filling is Formulaic

    Write less form-related code in your Capybara tests with our newly open-sourced library, Formulaic.

    Caleb Hearth
    February 28, 2014
    • News
    • Web
    • Rails
    • Open Source
    • Formulaic
  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 … 18 19 20 21 22 23 24 25 26 … 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