Patrick Bacon

Run Tests From MacVim via Terminal.app or iTerm.app


8 months ago by Patrick Bacon on Atomic Spin.
For the past several weeks I have been using MacVim as my primary editor for Ruby coding. My workflow has been to edit some code, Command-Tab over to a...

Upload Files Directly to S3 with Plupload, Rails, and Paperclip


7 months ago by Patrick Bacon on Atomic Spin.
Plupload is an open source javascript upload handler that supports uploading files directly to Amazon S3. This is an alternative to uploading files to the...

libiconv problems with MAMP, PHP, and Ruby


6 months ago by Patrick Bacon on Atomic Spin.
This past week I was having some trouble with a PHP application that tries to shell out to an external Ruby script. The problem was only occuring on my...

Authentication and CouchDB


5 months ago by Patrick Bacon on Atomic Spin.
I needed to expose an internal CouchDB server to the outside world. When it was only accessible behind a firewall, it was not a big deal to throw an Admin...

Highlight strings in Cucumber features with Vim


4 months ago by Patrick Bacon on Atomic Spin.
I am currently working on a project that is using Cucumber for its system/integration testing, and I am using MacVim as my primary editor. MacVim comes...

Given I am signed in using capybara-webkit


3 months ago by Patrick Bacon on Atomic Spin.
Inspired by the blog post Capybara, Cucumber and How the Cookie Crumbles, I wanted to write a Cucumber step that signs a user directly into my application...

Learn Vim with Spaced Repetition


2 months ago by Patrick Bacon on Atomic Spin.
Last fall I started using Vim as my full-time text editor. Around that same time I came across a fascinating article from Wired titled Want to Remember...

These intermittent test failures will not stand, man


25 days ago by Patrick Bacon on Atomic Spin.
I recently spent some time cleaning up a large test suite that had fallen into a bit of disrepair. The project was a Ruby on Rails web application being...