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. Laptop Setup for an Awesome Development Environment

    Don’t manually setup your new laptop with a series of copy-and-pasted steps from some blog post. Leverage automation and the open source community to save time and get a more stable result.

    Dan Croak
    June 18, 2014
    • Web
    • Open Source
    • Ruby
    • Rails
    • Unix
    • OS X
  2. Foolproof I18n Setup in Rails

    Let’s make I18n on Rails better, quickly and easily. These tips have helped...

    Gabe Berke-Williams
    June 17, 2014
    • Web
    • Rails
  3. How Rails' Type Casting Works

    Why is it that when you assign a property to an Active Record model and read it back, the value isn’t always the same?

    Sage Griffin
    June 16, 2014
    • Web
    • Ruby
    • Rails
  4. Shared Terminology Yet Different Concepts Between Ember.js and Rails

    Developers who are well versed in Ruby on Rails (or other MVC...

    Tute Costa
    June 12, 2014
    • Web
    • Rails
    • Ember
    • JavaScript
  5. 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
  6. Workflows for Writing Migrations With Rollbacks in Mind

    Sleep better at night knowing your migrations are reversible.

    Simon Taranto
    May 29, 2014
    • Web
    • Rails
  7. 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
  8. 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
  9. 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
  10. 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
  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 … 17 18 19 20 21 22 23 24 25 … 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