1. July 06, 2018

    TDD with Rails 5 - Model Testing

    Today we’re going to tackle the center of our outside-in testing approach with Rails 5 by adding some validations to our Article model. Model testing is a form of unit testing, which is used to test a single unit of our application. It’s a good place to test your validations,...

  2. July 05, 2018

    TDD with Rails 5 - Integration Testing

    Today we’re going to cover integration tests in Rails 5 and pick up where we left off after building the core feature of our blog using TDD and the feedback from a system test. Our system test used our application from a user’s perspective by running our code in a...

  3. July 04, 2018

    TDD with Rails 5 - System Testing

    Rails 5.2 ships with a pretty great testing stack right out of the box these days, and this post will be the first in a series where we develop a blog using an outside-in TDD workflow. Installing Rails 5.2.0 We’ll be using Rails 5.2.0. Here’s the command you can use...

  4. December 04, 2017

    Python Backed Snippets with UltiSnips

    I spent some of my day on Sunday converting my old snippets from my SnipMate, to the format expected by UltiSnips (a slighlty more robust snippet plugin). UltiSnips supports SnipMate out of the box, but I wanted my snippets in the UltiSnips form to make writing more advanced snippets a...

  5. April 16, 2017


    I find myself frequently navigating to GitHub repositories for the same dozen or so gems or JavaScript libraries. I thought this problem sounded like a good case for writing a vim plugin. After some brainstorming, here’s what I wanted the plugin to do: Retrieve a list of my starred repositories...

  6. April 09, 2017

    Blogging In Vim

    You may be surprised at how well you can make vim a comfortable setting for authoring blog posts or any prose for that matter. The following is how I’ve configured vim (well, neovim but that’s another post altogether) for writing pieces other than code. Building a blog for the command...

  7. April 08, 2017

    Formatting Text In Vim

    After developing in vim for awhile, I’ve developed a need for text to wrap at 80 characters. Yesterday, I stumbled across the built-in gq command in vim. Let’s take a look at what the help documentation has to say about it (:help gq): gq{motion} Format the lines that {motion} moves...

  8. January 11, 2017

    Rails Console Without Leaving Vim

    Some time ago, I grew weary of being forced to exit vim when needing to poke around in the rails console. Thanks to the following vim plugins (and tmux) this problem was duck soup: Tim Pope’s vim-dispatch plugin – allows you to dispatch the rails console command to a tmux...

  9. January 10, 2017

    Vimming Around In Firefox

    I’ve used Google Chrome for web development the past few years, but I recently switched to using Mozilla Firefox after stumbling upon Vimperator – a plugin that converts Firefox into a vimmish browser packed with modal navigation and interaction (vimmers rejoice!). Similar to vim, Vimperator allows you to create a...

  10. January 06, 2017

    Searching Open Source

    GitHub has some pretty great tips for searching code. I primarily use this as a second-to-last resort when documentation isn’t completely clear and I’m about to reach out to pair with someone. I tend to use the path and filename helpers the most. For example, I’ve been teaching myself ember.js...