Sonja Peterson

  • About
  • Blog

Ruby on Rails

A collection of 4 posts

July 20, 2019

Fixing Flaky Tests Like a Detective (RailsConf 2019)

This spring I spoke at RailsConf about fixing flaky tests in Rails, and how reading lots of mystery novels helped me learn how to do it. Here’s the video of my talk - if you prefer to read about it...

Ruby Ruby on Rails Testing

April 13, 2016

Building a Rails API with the JSON API Spec [slides]

Recently I gave my first tech talk at the Boston Ruby Group! I spoke about my experience building a Rails API according to the JSON API spec. It was a ton of fun even though I was too nervous about...

Ruby Ruby on Rails

March 19, 2016

Helpers for Testing Active Model Serializers in Rails with RSpec

Lately I’ve been building an API with Rails using Active Model Serializers. As I was writing my controller tests I realized that I was going to end up repetitively testing my serializers’ behavior unless I found a way to test...

Ruby Ruby on Rails Testing

March 8, 2016

Namespacing Your Rails Models Without Losing Your Mind

Recently, I was working on a new Rails app for work that I felt had a good potential use case for namespacing. A made up (not perfect) example of the type of situation I was in would be modeling a...

Ruby Ruby on Rails

Twitter GitHub Linkedin

Sonja Peterson © 2020 . Horace theme by JustGoodThemes.
Powered by Jekyll.

Back to top

Explore Site

  • About
  • Blog

Recent Posts

  • July 20, 2019
    Fixing Flaky Tests Like a Detective (RailsConf 2019)
  • April 13, 2016
    Building a Rails API with the JSON API Spec [slides]
  • March 19, 2016
    Helpers for Testing Active Model Serializers in Rails with RSpec

Tags

Ruby Ruby on Rails Testing