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. Access Ruby Hash Values with Fallbacks for Missing Data

    Find out different ways to access hash values in Ruby and save the dinosaurs at the same time.

    Rob Whittaker
    September 25, 2017
    • Code
    • Rails
    • Ruby
    • Web
  2. Debugging Why Your Specs Have Slowed Down

    Your test suite used to be lightning fast but now it’s starting to feel a bit sluggish. Before adding CI parallelization, let’s see if there’s any clutter to remove.

    Mike Wenger
    September 22, 2017
    • Testing
    • Ruby
    • Rails
    • Factory Girl
    • Web
    • Factory Bot
  3. Querying the oldest and newest records within an SQL group

    How to find the oldest or most recent record associated with a particular foreign key.

    Jack Wilson
    September 18, 2017
    • PostgreSQL
    • SQL
    • Databases
    • Rails
  4. Lean & Maintainable Reports with Heroku Dataclips

    Write testable reports in SQL that don’t erode over time.

    Oli Peate
    August 21, 2017
    • Data
    • Heroku
    • Rails
    • Web
  5. Headless Capybara Feature Specs with Chrome

    We’re experimenting with running feature specs using Chrome’s new headless mode. How do we set it up, and how does it compare to Capybara-WebKit?

    Derek Prior
    June 16, 2017
    • Rails
    • Testing
    • Web
  6. Decorating ActiveRecord

    Avoid some tricky edge cases when decorating ActiveRecord models.

    Joël Quenneville
    March 31, 2017
    • Web
    • Ruby
    • Rails
  7. Chain RSpec Matchers for Improved Test Readability

    Improve test readability by leveraging RSpec’s matcher composition to make multiple assertions with a single matcher.

    Josh Clayton
    March 9, 2017
    • Web
    • RSpec
    • Ruby
    • Rails
    • Testing
  8. Slicing up Rails Application.js for Faster Load Times

    How to profile page load performance in Chrome and break out modular JavaScript assets.

    Oli Peate
    February 27, 2017
    • Performance
    • Rails
  9. Validation, Database Constraint, or Both?

    What happens when we stop using validations for data integrity and instead use them for user interface?

    Derek Prior
    February 15, 2017
    • Web
    • Rails
  10. Block Web Crawlers with Rails

    Search engines “crawl” and “index” web content through programs called robots (a.k.a. crawlers or spiders). Here are some approaches to blocking them in Ruby on Rails apps.

    Dan Croak
    February 10, 2017
    • Rails
    • Ruby
    • SEO
    • Web
  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 … 11 12 13 14 15 16 17 18 19 … 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